Package net.spy.memcached
Interface CASMutation<T>
public interface CASMutation<T>
Defines a mutation mechanism for a high-level CAS client interface.
-
Method Summary
Modifier and TypeMethodDescriptiongetNewValue
(T current) Get the new value to replace the current value.
-
Method Details
-
getNewValue
Get the new value to replace the current value.- Parameters:
current
- the current value in the cache- Returns:
- the replacement value
-