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 ReadWriteLock
public Lock writeLock()
writeLock
in interface ReadWriteLock
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.