All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.spy.memcached.ClientMode Maven / Gradle / Ivy

/**
 * Copyright (C) 2012-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 
 *
 * SPDX-License-Identifier: Apache-2.0
 */
package net.spy.memcached;

/**
 * The modes in which the client can operate. 
 */
public enum ClientMode {
  /**
   * Default client mode, we will perform mode discovery based on the endpoint dns name.
   */
  Unset,
  /**
   * In Static Client mode, the set of endpoints specified during initialization is used throughout the lifetime of the client object.
   */
  Static,
  /**
   * In Dynamic Client mode, the set of cache node endpoints and any updates to it is dynamically managed in this mode. 
   * The client is initialized with a configuration endpoint. The client will periodically learn about the cache nodes in the
   * cluster.
   */
  Dynamic
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy