Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.zookeeper.lock |
Modifier and Type | Method and Description |
---|---|
InterProcessLock |
InterProcessReadWriteLock.readLock(byte[] metadata)
Obtain a read lock containing given metadata.
|
InterProcessLock |
InterProcessReadWriteLock.writeLock(byte[] metadata)
Obtain a write lock containing given metadata.
|
Modifier and Type | Class and Description |
---|---|
class |
ZKInterProcessLockBase
ZooKeeper based HLock implementation.
|
class |
ZKInterProcessReadLock
ZooKeeper based read lock: does not exclude other read locks, but excludes
and is excluded by write locks.
|
class |
ZKInterProcessWriteLock
ZooKeeper based write lock:
|