|
||||||||||
| 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. |
Condition |
newCondition()
Deprecated. |
boolean |
tryLock()
Deprecated. |
boolean |
tryLock(long timeout,
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 Lockpublic boolean tryLock()
tryLock in interface Lockpublic void unlock()
unlock in interface Lockpublic Condition newCondition()
newCondition in interface Lockpublic boolean isLocked()
public boolean hasQueuedThreads()
public void lockInterruptibly()
throws InterruptedException
lockInterruptibly in interface LockInterruptedException
public boolean tryLock(long timeout,
TimeUnit unit)
throws InterruptedException
tryLock in interface LockInterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||