net.spy.memcached.CASMutation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spymemcached Show documentation
Show all versions of spymemcached Show documentation
A simple, asynchronous, single-threaded Memcached client written in java.
The newest version!
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