Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver |
Modifier and Type | Method and Description |
---|---|
HRegion.RowLock |
HRegion.getRowLock(byte[] row)
Acqures a lock on the given row.
|
HRegion.RowLock |
HRegion.getRowLock(byte[] row,
boolean waitForLock)
Tries to acquire a lock on the given row.
|
protected HRegion.RowLock |
HRegion.getRowLockInternal(byte[] row,
boolean waitForLock)
A version of getRowLock(byte[], boolean) to use when a region operation has already been
started (the calling thread has already acquired the region-close-lock).
|
Modifier and Type | Method and Description |
---|---|
void |
HRegion.releaseRowLocks(List<HRegion.RowLock> rowLocks)
If the given list of row locks is not null, releases all locks.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.