|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.spy.memcached.CASValue<T>
public class CASValue<T>
A value with a CAS identifier.
Constructor Summary | |
---|---|
CASValue(long c,
T v)
Construct a new CASValue with the given identifer and value. |
Method Summary | |
---|---|
long |
getCas()
Get the CAS identifier. |
T |
getValue()
Get the object value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CASValue(long c, T v)
c
- the CAS identifierv
- the valueMethod Detail |
---|
public long getCas()
public T getValue()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |