Class CASValue<T>
java.lang.Object
net.spy.memcached.CASValue<T>
A value with a CAS identifier.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cas
private final long cas -
value
-
-
Constructor Details
-
CASValue
Construct a new CASValue with the given identifer and value.- Parameters:
c- the CAS identifierv- the value
-
-
Method Details
-
getCas
public long getCas()Get the CAS identifier. -
getValue
Get the object value. -
toString
-