Class NodeDisconnectedEvent
java.lang.Object
com.couchbase.client.core.event.system.NodeDisconnectedEvent
- All Implemented Interfaces:
CouchbaseEvent
public class NodeDisconnectedEvent extends Object implements CouchbaseEvent
Event published when a node is disconnected.
- Since:
- 1.1.0
- Author:
- Michael Nitschinger
-
Constructor Summary
Constructors Constructor Description NodeDisconnectedEvent(String host)
-
Method Summary
-
Constructor Details
-
NodeDisconnectedEvent
-
-
Method Details
-
type
Description copied from interface:CouchbaseEvent
The type of the event.- Specified by:
type
in interfaceCouchbaseEvent
- Returns:
- the event type.
-
host
The host address of the disconnected node.- Returns:
- the inet address of the disconnected node
-
toString
-
toMap
Description copied from interface:CouchbaseEvent
Converts the event into a map representation of simple types.- Specified by:
toMap
in interfaceCouchbaseEvent
- Returns:
- the map representation.
-