org.apache.clerezza.rdf.core.access.debug
Class ReadLockDebug
java.lang.Object
java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock
org.apache.clerezza.rdf.core.access.debug.ReadLockDebug
- All Implemented Interfaces:
- Serializable, Lock
public class ReadLockDebug
- extends ReentrantReadWriteLock.ReadLock
- Author:
- mir
- See Also:
- Serialized Form
ReadLockDebug
public ReadLockDebug(ReentrantReadWriteLockTracker lock)
lock
public void lock()
- Specified by:
lock in interface Lock- Overrides:
lock in class ReentrantReadWriteLock.ReadLock
lockInterruptibly
public void lockInterruptibly()
throws InterruptedException
- Specified by:
lockInterruptibly in interface Lock- Overrides:
lockInterruptibly in class ReentrantReadWriteLock.ReadLock
- Throws:
InterruptedException
newCondition
public Condition newCondition()
- Specified by:
newCondition in interface Lock- Overrides:
newCondition in class ReentrantReadWriteLock.ReadLock
toString
public String toString()
- Overrides:
toString in class ReentrantReadWriteLock.ReadLock
tryLock
public boolean tryLock()
- Specified by:
tryLock in interface Lock- Overrides:
tryLock in class ReentrantReadWriteLock.ReadLock
tryLock
public boolean tryLock(long timeout,
TimeUnit unit)
throws InterruptedException
- Specified by:
tryLock in interface Lock- Overrides:
tryLock in class ReentrantReadWriteLock.ReadLock
- Throws:
InterruptedException
unlock
public void unlock()
- Specified by:
unlock in interface Lock- Overrides:
unlock in class ReentrantReadWriteLock.ReadLock
getStackTrace
public StackTraceElement[] getStackTrace()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.