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

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

package net.spy.memcached;

/**
 * Defines a mutation mechanism for a high-level CAS client interface.
 */
public interface CASMutation {

	/**
	 * Get the new value to replace the current value.
	 *
	 * @param current the current value in the cache
	 * @return the replacement value
	 */
	T getNewValue(T current);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy