public final class GridCacheAtomicLongValue extends AtomicDataStructureValue implements Cloneable
| Constructor and Description |
|---|
GridCacheAtomicLongValue()
Empty constructor required for
Externalizable. |
GridCacheAtomicLongValue(long val)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
long |
get() |
void |
readExternal(ObjectInput in) |
void |
set(long val) |
String |
toString() |
DataStructureType |
type() |
void |
writeExternal(ObjectOutput out) |
public GridCacheAtomicLongValue(long val)
val - Initial value.public GridCacheAtomicLongValue()
Externalizable.public DataStructureType type()
type in class AtomicDataStructureValuepublic void set(long val)
val - New value.public long get()
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizableIOException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017