Package net.spy.memcached.config
Interface ClusterConfigurationObserver
- All Superinterfaces:
ConfigurationObserver
- All Known Implementing Classes:
MemcachedConnection
Observer for changes in the ConfigurationType.CLUSTER type of config in the cluster.
-
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyUpdate(ClusterConfiguration clusterConfiguration) The publisher calls all the subscribers through this method.voidWait for the configuration change applied.
-
Method Details
-
notifyUpdate
The publisher calls all the subscribers through this method. This is invoked whenever there is change in cluster configuration data.- Parameters:
clusterConfiguration- - The parameter contains the latest information about the cluster.
-
waitForConfigChangeApplied
void waitForConfigChangeApplied()Wait for the configuration change applied. This is invoked whenever the observers get notified except configuration change during the client initialization.
-