org.apache.aries.blueprint.utils.threading
Class RWLock
java.lang.Object
org.apache.aries.blueprint.utils.threading.RWLock
public class RWLock
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RWLock
public RWLock()
runReadOperation
public <T> T runReadOperation(Callable<T> call)
throws Exception
- Throws:
Exception
runReadOperation
public void runReadOperation(Runnable r)
runWriteOperation
public <T> T runWriteOperation(Callable<T> call)
throws Exception
- Throws:
Exception
runWriteOperation
public void runWriteOperation(Runnable r)
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.