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()
CouchbaseEvent
The type of the event.
type
in interface CouchbaseEvent
public InetAddress host()
The host address of the disconnected node.
public Map<String,Object> toMap()
CouchbaseEvent
Converts the event into a map representation of simple types.
toMap
in interface CouchbaseEvent
Copyright © 2016 Couchbase, Inc.. All rights reserved.