Package org.rocksdb

Class TransactionDB.KeyLockInfo

java.lang.Object
org.rocksdb.TransactionDB.KeyLockInfo
Enclosing class:
TransactionDB

public static class TransactionDB.KeyLockInfo extends Object
  • Constructor Details

    • KeyLockInfo

      public KeyLockInfo(String key, long[] transactionIDs, boolean exclusive)
  • Method Details

    • getKey

      public 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.