public class CASValue<T>
extends java.lang.Object
Constructor and Description |
---|
CASValue(long c,
T v)
Construct a new CASValue with the given identifer and value.
|
Modifier and Type | Method and Description |
---|---|
long |
getCas()
Get the CAS identifier.
|
T |
getValue()
Get the object value.
|
java.lang.String |
toString() |
public CASValue(long c, T v)
c
- the CAS identifierv
- the valuepublic long getCas()
public T getValue()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.