public class NodeDisconnectedEvent extends Object implements CouchbaseEvent
Event published when a node is disconnected.
| Constructor and Description |
|---|
NodeDisconnectedEvent(InetAddress host) |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
host()
The host address of the disconnected node.
|
Map<String,Object> |
toMap()
Converts the event into a map representation of simple types.
|
String |
toString() |
EventType |
type()
The type of the event.
|
public NodeDisconnectedEvent(InetAddress host)
public EventType type()
CouchbaseEventThe type of the event.
type in interface CouchbaseEventpublic InetAddress host()
The host address of the disconnected node.
public Map<String,Object> toMap()
CouchbaseEventConverts the event into a map representation of simple types.
toMap in interface CouchbaseEventCopyright © 2016 Couchbase, Inc.. All rights reserved.