|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.servicemix.locks.impl.SimpleLock
@Deprecated public class SimpleLock
Constructor Summary | |
---|---|
SimpleLock()
Deprecated. |
Method Summary | |
---|---|
boolean |
hasQueuedThreads()
Deprecated. |
boolean |
isLocked()
Deprecated. |
void |
lock()
Deprecated. |
void |
lockInterruptibly()
Deprecated. |
java.util.concurrent.locks.Condition |
newCondition()
Deprecated. |
boolean |
tryLock()
Deprecated. |
boolean |
tryLock(long timeout,
java.util.concurrent.TimeUnit unit)
Deprecated. |
void |
unlock()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleLock()
Method Detail |
---|
public void lock()
lock
in interface java.util.concurrent.locks.Lock
public boolean tryLock()
tryLock
in interface java.util.concurrent.locks.Lock
public void unlock()
unlock
in interface java.util.concurrent.locks.Lock
public java.util.concurrent.locks.Condition newCondition()
newCondition
in interface java.util.concurrent.locks.Lock
public boolean isLocked()
public boolean hasQueuedThreads()
public void lockInterruptibly() throws java.lang.InterruptedException
lockInterruptibly
in interface java.util.concurrent.locks.Lock
java.lang.InterruptedException
public boolean tryLock(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
tryLock
in interface java.util.concurrent.locks.Lock
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |