org.ow2.util.pool.impl.enhanced.internal.lock.impl
Class SignalClearableConditionProxy
java.lang.Object
org.ow2.util.pool.impl.enhanced.internal.lock.impl.SignalClearableConditionProxy
- All Implemented Interfaces:
- java.util.concurrent.locks.Condition, ISignalClearableCondition
public class SignalClearableConditionProxy
- extends java.lang.Object
- implements ISignalClearableCondition
- Author:
- Gael Lalire
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignalClearableConditionProxy
public SignalClearableConditionProxy(java.util.concurrent.locks.Condition condition)
createProxy
public static ISignalClearableCondition createProxy(java.util.concurrent.locks.Condition condition)
- Use this to create a proxy which do nothing on clearAllSignal.
- Parameters:
condition -
- Returns:
clearAllSignal
public void clearAllSignal()
- Do nothing.
- Specified by:
clearAllSignal in interface ISignalClearableCondition
await
public void await()
throws java.lang.InterruptedException
- Specified by:
await in interface java.util.concurrent.locks.Condition
- Throws:
java.lang.InterruptedException
await
public boolean await(long time,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
- Specified by:
await in interface java.util.concurrent.locks.Condition
- Throws:
java.lang.InterruptedException
awaitNanos
public long awaitNanos(long nanosTimeout)
throws java.lang.InterruptedException
- Specified by:
awaitNanos in interface java.util.concurrent.locks.Condition
- Throws:
java.lang.InterruptedException
awaitUninterruptibly
public void awaitUninterruptibly()
- Specified by:
awaitUninterruptibly in interface java.util.concurrent.locks.Condition
awaitUntil
public boolean awaitUntil(java.util.Date deadline)
throws java.lang.InterruptedException
- Specified by:
awaitUntil in interface java.util.concurrent.locks.Condition
- Throws:
java.lang.InterruptedException
signal
public void signal()
- Specified by:
signal in interface java.util.concurrent.locks.Condition
signalAll
public void signalAll()
- Specified by:
signalAll in interface java.util.concurrent.locks.Condition
await
public void await(long timeout)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
signalAllUnclearable
public void signalAllUnclearable()
- Specified by:
signalAllUnclearable in interface ISignalClearableCondition
Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.