class HRegion.RowLockContext extends Object
Modifier and Type | Field and Description |
---|---|
(package private) AtomicInteger |
count |
(package private) Object |
lock |
(package private) ReadWriteLock |
readWriteLock |
private HashedBytes |
row |
private String |
threadName |
(package private) AtomicBoolean |
usable |
Constructor and Description |
---|
RowLockContext(HashedBytes row) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
cleanUp() |
private HRegion.RowLockImpl |
getRowLock(Lock l) |
(package private) HRegion.RowLockImpl |
newReadLock() |
(package private) HRegion.RowLockImpl |
newWriteLock() |
void |
setThreadName(String threadName) |
String |
toString() |
private final HashedBytes row
final ReadWriteLock readWriteLock
final AtomicBoolean usable
final AtomicInteger count
private String threadName
RowLockContext(HashedBytes row)
HRegion.RowLockImpl newWriteLock()
HRegion.RowLockImpl newReadLock()
private HRegion.RowLockImpl getRowLock(Lock l)
void cleanUp()
public void setThreadName(String threadName)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.