Class ServiceStateChangedEvent
java.lang.Object
com.couchbase.client.core.cnc.AbstractEvent
com.couchbase.client.core.cnc.events.service.ServiceStateChangedEvent
- All Implemented Interfaces:
Event
This event is raised every time a
Service
changes its state.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.couchbase.client.core.cnc.Event
Event.Category, Event.Severity
-
Field Summary
Fields inherited from interface com.couchbase.client.core.cnc.Event
CATEGORY_PREFIX
-
Constructor Summary
ConstructorDescriptionServiceStateChangedEvent
(ServiceContext context, ServiceState oldState, ServiceState newState) -
Method Summary
Methods inherited from class com.couchbase.client.core.cnc.AbstractEvent
category, context, created, createdAt, duration, severity, toString
-
Constructor Details
-
ServiceStateChangedEvent
public ServiceStateChangedEvent(ServiceContext context, ServiceState oldState, ServiceState newState)
-
-
Method Details
-
oldState
-
newState
-
description
Description copied from interface:Event
A textual description with more information about the event.- Returns:
- the description, if set.
-