Uses of Interface
org.apache.hadoop.hbase.regionserver.Region.RowLock
-
Uses of Region.RowLock in org.apache.hadoop.hbase.regionserver
Modifier and TypeClassDescriptionstatic class
Class used to represent a lock on a row.Modifier and TypeMethodDescriptionHRegion.getRowLock
(byte[] row) Get an exclusive ( write lock ) lock on a given row.HRegion.getRowLock
(byte[] row, boolean readLock) private Region.RowLock
HRegion.getRowLock
(byte[] row, boolean readLock, Region.RowLock prevRowLock) Region.getRowLock
(byte[] row, boolean readLock) Get a row lock for the specified row.protected Region.RowLock
HRegion.getRowLockInternal
(byte[] row, boolean readLock, Region.RowLock prevRowLock) Modifier and TypeMethodDescriptionprivate 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 TypeMethodDescriptionprivate void
HRegion.MutationBatchOperation.checkAndMergeCPMutations
(MiniBatchOperationInProgress<Mutation> miniBatchOp, List<Region.RowLock> acquiredRowLocks, long timestamp) 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)