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)
Get a row lock for the specified row.
|
Region.RowLock |
HRegion.getRowLock(byte[] row,
boolean readLock) |
private Region.RowLock |
HRegion.getRowLock(byte[] row,
boolean readLock,
Region.RowLock prevRowLock) |
protected Region.RowLock |
HRegion.getRowLockInternal(byte[] row,
boolean readLock,
Region.RowLock prevRowLock) |
Modifier and Type | Method and Description |
---|---|
private Region.RowLock |
HRegion.getRowLock(byte[] row,
boolean readLock,
Region.RowLock prevRowLock) |
protected Region.RowLock |
HRegion.getRowLockInternal(byte[] row,
boolean readLock,
Region.RowLock prevRowLock) |
Modifier and Type | Method and Description |
---|---|
private void |
HRegion.MutationBatchOperation.checkAndMergeCPMutations(MiniBatchOperationInProgress<Mutation> miniBatchOp,
List<Region.RowLock> acquiredRowLocks,
long timestamp) |
MiniBatchOperationInProgress<Mutation> |
HRegion.BatchOperation.lockRowsAndBuildMiniBatch(List<Region.RowLock> acquiredRowLocks)
Creates Mini-batch of all operations [nextIndexToProcess, lastIndexExclusive) for which a row
lock can be acquired.
|
abstract void |
HRegion.BatchOperation.prepareMiniBatchOperations(MiniBatchOperationInProgress<Mutation> miniBatchOp,
long timestamp,
List<Region.RowLock> acquiredRowLocks)
If necessary, calls preBatchMutate() CP hook for a mini-batch and updates metrics, cell
count, tags and timestamp for all cells of all operations in a mini-batch.
|
void |
HRegion.MutationBatchOperation.prepareMiniBatchOperations(MiniBatchOperationInProgress<Mutation> miniBatchOp,
long timestamp,
List<Region.RowLock> acquiredRowLocks) |
void |
HRegion.ReplayBatchOperation.prepareMiniBatchOperations(MiniBatchOperationInProgress<Mutation> miniBatchOp,
long timestamp,
List<Region.RowLock> acquiredRowLocks) |
private void |
HRegion.releaseRowLocks(List<Region.RowLock> rowLocks) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.