org.apache.accumulo.fate.zookeeper
public class DistributedReadWriteLock extends Object implements ReadWriteLock
| Modifier and Type | Class and Description |
|---|---|
static interface |
DistributedReadWriteLock.QueueLock |
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
DistributedReadWriteLock(DistributedReadWriteLock.QueueLock qlock,
byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
Lock |
readLock() |
static Lock |
recoverLock(DistributedReadWriteLock.QueueLock qlock,
byte[] data) |
Lock |
writeLock() |
public DistributedReadWriteLock(DistributedReadWriteLock.QueueLock qlock, byte[] data)
public static Lock recoverLock(DistributedReadWriteLock.QueueLock qlock, byte[] data)
public Lock readLock()
readLock in interface ReadWriteLockpublic Lock writeLock()
writeLock in interface ReadWriteLockCopyright © 2014 Apache Accumulo Project. All Rights Reserved.