Package org.rocksdb

Class 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.String getKey()
      Get the key.
      long[] getTransactionIDs()
      Get the Transaction IDs.
      boolean isExclusive()
      Get the Lock status.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyLockInfo

        public KeyLockInfo​(java.lang.String key,
                           long[] transactionIDs,
                           boolean exclusive)
    • 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.