Package org.rocksdb
Class TransactionDB.KeyLockInfo
- java.lang.Object
-
- org.rocksdb.TransactionDB.KeyLockInfo
-
- Enclosing class:
- TransactionDB
public static class TransactionDB.KeyLockInfo extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description KeyLockInfo(java.lang.String key, long[] transactionIDs, boolean exclusive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKey()Get the key.long[]getTransactionIDs()Get the Transaction IDs.booleanisExclusive()Get the Lock status.
-
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Get the key.- Returns:
- the key
-
getTransactionIDs
public long[] getTransactionIDs()
Get the Transaction IDs.- Returns:
- the Transaction IDs.
-
isExclusive
public boolean isExclusive()
Get the Lock status.- Returns:
- true if the lock is exclusive, false if the lock is shared.
-
-