public class NodeConnectedEvent extends Object implements CouchbaseEvent
Event published when a node is connected.
| Constructor and Description |
|---|
NodeConnectedEvent(InetAddress host) |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
host()
The host address of the connected 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 NodeConnectedEvent(InetAddress host)
public EventType type()
CouchbaseEventThe type of the event.
type in interface CouchbaseEventpublic InetAddress host()
The host address of the connected 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.