Interface Region.RowLock

All Known Implementing Classes:
HRegion.RowLockImpl
Enclosing interface:
Region

public static interface Region.RowLock
Row lock held by a given thread. One thread may acquire multiple locks on the same row simultaneously. The locks must be released by calling release() from the same thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Release the given lock.
  • Method Details

    • release

      void release()
      Release the given lock. If there are no remaining locks held by the current thread then unlock the row and allow other threads to acquire the lock.
      Throws:
      IllegalArgumentException - if called by a different thread than the lock owning thread