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

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

There is a newer version: 2.8.4
Show newest version
package net.spy.memcached;

/**
 * Response codes for a CAS operation.
 */
public enum CASResponse {
	/**
	 * Status indicating that the CAS was successful and the new value is
	 * stored in the cache.
	 */
	OK,
	/**
	 * Status indicating the value was not found in the cache (an add
	 * operation may be issued to store the value).
	 */
	NOT_FOUND,
	/**
	 * Status indicating the value was found in the cache, but exists with a
	 * different CAS value than expected.  In this case, the value must be
	 * refetched and the CAS operation tried again.
	 */
	EXISTS
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy