net.spy.memcached.config.ClusterConfigurationObserver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of memcached-client Show documentation
Show all versions of memcached-client Show documentation
Memcached Client is an enhanced Java library to connect to Memcached clusters. This client library has been built upon Spymemcached and is released under the Apache 2.0 License.
The newest version!
/**
* Copyright (C) 2012-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
package net.spy.memcached.config;
/**
* Observer for changes in the ConfigurationType.CLUSTER type of config in the cluster.
*
*/
public interface ClusterConfigurationObserver extends ConfigurationObserver {
/**
* The publisher calls all the subscribers through this method. This is invoked whenever
* there is change in cluster configuration data.
* @param clusterConfiguration - The parameter contains the latest information about the cluster.
*/
public void notifyUpdate(ClusterConfiguration clusterConfiguration);
/**
* Wait for the configuration change applied. This is invoked whenever the observers get notified
* except configuration change during the client initialization.
*/
public void waitForConfigChangeApplied();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy