public class ConfigUpdatedEvent extends Object implements CouchbaseEvent
Constructor and Description |
---|
ConfigUpdatedEvent(ClusterConfig clusterConfig) |
Modifier and Type | Method and Description |
---|---|
Set<InetAddress> |
clusterNodes()
Deprecated.
please use
clusterNodesAsStrings() instead. |
Set<String> |
clusterNodesAsStrings()
Returns the hostname 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)
@Deprecated public Set<InetAddress> clusterNodes()
clusterNodesAsStrings()
instead.InetAddress
of all nodes that are part of the cluster config.public Set<String> clusterNodesAsStrings()
public EventType type()
CouchbaseEvent
type
in interface CouchbaseEvent
public Map<String,Object> toMap()
CouchbaseEvent
toMap
in interface CouchbaseEvent
Copyright © 2021 Couchbase, Inc.. All rights reserved.