Package | Description |
---|---|
org.apache.hadoop.hbase.regionserver |
Modifier and Type | Class and Description |
---|---|
static class |
HRegion.RowLockImpl
Class used to represent a lock on a row.
|
Modifier and Type | Method and Description |
---|---|
Region.RowLock |
HRegion.getRowLock(byte[] row)
Get an exclusive ( write lock ) lock on a given row.
|
Region.RowLock |
Region.getRowLock(byte[] row,
boolean readlock)
Tries to acquire a lock on the given row.
|
Region.RowLock |
HRegion.getRowLock(byte[] row,
boolean readLock)
Get a row lock for the specified row.
|
Region.RowLock |
HRegion.getRowLock(byte[] row,
boolean readLock,
boolean waitForLock)
Get a row lock for the specified row.
|
Modifier and Type | Method and Description |
---|---|
void |
Region.releaseRowLocks(List<Region.RowLock> rowLocks)
If the given list of row locks is not null, releases all locks.
|
void |
HRegion.releaseRowLocks(List<Region.RowLock> rowLocks) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.