public enum DataStructureType extends Enum<DataStructureType>
| Enum Constant and Description |
|---|
ATOMIC_LONG |
ATOMIC_REF |
ATOMIC_SEQ |
ATOMIC_STAMPED |
COUNT_DOWN_LATCH |
QUEUE |
REENTRANT_LOCK |
SEMAPHORE |
SET |
| Modifier and Type | Method and Description |
|---|---|
String |
className() |
static @Nullable DataStructureType |
fromOrdinal(int ord) |
boolean |
isCollection() |
boolean |
isVolatile() |
static DataStructureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataStructureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataStructureType ATOMIC_LONG
public static final DataStructureType ATOMIC_REF
public static final DataStructureType ATOMIC_SEQ
public static final DataStructureType ATOMIC_STAMPED
public static final DataStructureType COUNT_DOWN_LATCH
public static final DataStructureType QUEUE
public static final DataStructureType SET
public static final DataStructureType SEMAPHORE
public static final DataStructureType REENTRANT_LOCK
public static DataStructureType[] values()
for (DataStructureType c : DataStructureType.values()) System.out.println(c);
public static DataStructureType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String className()
public boolean isVolatile()
True if this data structure type is volatile.public boolean isCollection()
True if this data structure type is collection.@Nullable public static @Nullable DataStructureType fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020