public final class GridCacheCountDownLatchValue extends VolatileAtomicDataStructureValue implements Cloneable
| Constructor and Description |
|---|
GridCacheCountDownLatchValue()
Empty constructor required for
Externalizable. |
GridCacheCountDownLatchValue(int cnt,
boolean del,
long gridStartTime)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
autoDelete() |
Object |
clone() |
int |
get() |
long |
gridStartTime() |
int |
initialCount() |
void |
readExternal(ObjectInput in) |
void |
set(int cnt) |
String |
toString() |
DataStructureType |
type() |
void |
writeExternal(ObjectOutput out) |
public GridCacheCountDownLatchValue(int cnt,
boolean del,
long gridStartTime)
cnt - Initial count.del - True to auto delete on count down to 0.gridStartTime - Cluster start time.public GridCacheCountDownLatchValue()
Externalizable.public DataStructureType type()
type in class AtomicDataStructureValuepublic long gridStartTime()
gridStartTime in class VolatileAtomicDataStructureValuepublic void set(int cnt)
cnt - New count.public int get()
public int initialCount()
public boolean autoDelete()
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.4.0 Release Date : March 5 2018