|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.objectweb.perseus.concurrency.distributed.globallock.lib.GlobalLockWaiterImpl
| Method Summary | |
|---|---|
byte |
getLockLevel()
Get the requested lock level |
void |
signalHandled()
Signal that the lock granting has been handled by the waiter and that next waiters can have their requests granted if possible |
boolean |
signalLock(byte signaledLck,
GlobalLockWaiterImpl waitFor)
|
void |
waitHandled(long timeout)
|
boolean |
waitLock(long timeout)
Wait until the lock is granted or refused. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void waitHandled(long timeout)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void signalHandled()
GlobalLockWaiter
signalHandled in interface GlobalLockWaiter
public boolean waitLock(long timeout)
throws java.lang.InterruptedException
GlobalLockWaiter
waitLock in interface GlobalLockWaitertimeout - max time to wait
java.lang.InterruptedException - if the thread has been interrupted
public boolean signalLock(byte signaledLck,
GlobalLockWaiterImpl waitFor)
public byte getLockLevel()
GlobalLockWaiter
getLockLevel in interface GlobalLockWaiter
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||