public enum TxKeyLockType extends Enum<TxKeyLockType>
| Enum Constant and Description |
|---|
AWAITS_LOCK
Transaction is enqueued to acquire lock for given key.
|
NO_LOCK
Transaction doesn't hold lock for given key.
|
OWNS_LOCK
Transaction is exclusive lock owner for given key.
|
| Modifier and Type | Method and Description |
|---|---|
static @Nullable TxKeyLockType |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static TxKeyLockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxKeyLockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxKeyLockType NO_LOCK
public static final TxKeyLockType AWAITS_LOCK
public static final TxKeyLockType OWNS_LOCK
public static TxKeyLockType[] values()
for (TxKeyLockType c : TxKeyLockType.values()) System.out.println(c);
public static TxKeyLockType 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 null@Nullable public static @Nullable TxKeyLockType fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023