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

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

The newest version!
package net.spy.memcached;

/**
 * Failure modes for node failures.
 */
public enum FailureMode {

  /**
   * Move on to functional nodes when nodes fail.
   *
   * 

* In this failure mode, the failure of a node will cause its current * queue and future requests to move to the next logical node in the * cluster for a given key. *

*/ Redistribute, /** * Continue to retry a failing node until it comes back up. * *

* This failure mode is appropriate when you have a rare short downtime * of a memcached node that will be back quickly, and your app is written * to not wait very long for async command completion. *

*/ Retry, /** * Automatically cancel all operations heading towards a downed node. */ Cancel }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy