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()
CouchbaseEvent
The type of the event.
type
in interface CouchbaseEvent
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.