com.pmease.quickbuild.util
Class UpgradableReadWriteLock

java.lang.Object
  extended by com.pmease.quickbuild.util.UpgradableReadWriteLock
All Implemented Interfaces:
java.util.concurrent.locks.ReadWriteLock

public class UpgradableReadWriteLock
extends java.lang.Object
implements java.util.concurrent.locks.ReadWriteLock


Constructor Summary
UpgradableReadWriteLock(java.util.concurrent.locks.ReadWriteLock lock)
           
 
Method Summary
 java.util.concurrent.locks.Lock readLock()
           
 java.util.concurrent.locks.Lock writeLock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradableReadWriteLock

public UpgradableReadWriteLock(java.util.concurrent.locks.ReadWriteLock lock)
Method Detail

readLock

public java.util.concurrent.locks.Lock readLock()
Specified by:
readLock in interface java.util.concurrent.locks.ReadWriteLock

writeLock

public java.util.concurrent.locks.Lock writeLock()
Specified by:
writeLock in interface java.util.concurrent.locks.ReadWriteLock


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.