public class ConfigUpdatedEvent extends Object implements CouchbaseEvent
Event published when a new bucket config is applied to the core.
| Constructor and Description |
|---|
ConfigUpdatedEvent(ClusterConfig clusterConfig) |
| Modifier and Type | Method and Description |
|---|---|
Set<InetAddress> |
clusterNodes()
Returns the
InetAddress of all nodes that are part of the cluster config. |
Set<String> |
openBuckets()
Returns all open bucket names.
|
Map<String,Object> |
toMap()
Converts the event into a map representation of simple types.
|
String |
toString() |
EventType |
type()
The type of the event.
|
public ConfigUpdatedEvent(ClusterConfig clusterConfig)
public Set<InetAddress> clusterNodes()
Returns the InetAddress of all nodes that are part of the cluster config.
public EventType type()
CouchbaseEventThe type of the event.
type in interface CouchbaseEventpublic Map<String,Object> toMap()
CouchbaseEventConverts the event into a map representation of simple types.
toMap in interface CouchbaseEventCopyright © 2016 Couchbase, Inc.. All rights reserved.