Package net.rubyeye.xmemcached
Interface CASOperation<T>
-
public interface CASOperation<T>
CAS operation,encapsulate gets and cas commands,and supports retry times.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxTries()
Max retry times,If retry times is great than this value,xmemcached will throw TimeoutExceptionT
getNewValue(long currentCAS, T currentValue)
Return the new value which you want to cas
-