Interface ClusterConfigurationObserver

All Superinterfaces:
ConfigurationObserver
All Known Implementing Classes:
MemcachedConnection

public interface ClusterConfigurationObserver extends ConfigurationObserver
Observer for changes in the ConfigurationType.CLUSTER type of config in the cluster.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    notifyUpdate(ClusterConfiguration clusterConfiguration)
    The publisher calls all the subscribers through this method.
    void
    Wait for the configuration change applied.
  • Method Details

    • notifyUpdate

      void notifyUpdate(ClusterConfiguration clusterConfiguration)
      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.