@NotStorableClass public class JoafipMutex extends Object
| Constructor and Description |
|---|
JoafipMutex() |
| Modifier and Type | Method and Description |
|---|---|
void |
doNotify()
|
void |
doNotify(Throwable throwable)
delegation to
Object.notify()make this been notified see isNotified()see getThrowable()notifier end in exception |
void |
doNotifyAll()
|
void |
doNotifyAll(Throwable throwable)
delegation to
Object.notifyAll()make this been notified see isNotified()see getThrowable()notifier end in exception |
void |
doWait()
delegation to
Object.wait()clear marked notified and notifier exception when exit wait use isNotified() and getThrowable() to
know the exit reason |
void |
doWait(long timeout)
delegation to
Object.wait(long)clear marked notified and notifier exception when exit wait use isNotified() and getThrowable() to
know the exit reason |
void |
doWait(long timeout,
int nanos)
delegation to
Object.wait(long, int)clear marked notified and notifier exception when exit wait use isNotified() and getThrowable() to
know the exit reason |
Throwable |
getThrowable() |
boolean |
isNotified() |
public void doNotify()
public void doNotifyAll()
public void doNotify(Throwable throwable)
Object.notify()isNotified()getThrowable()throwable - the notifier exceptionpublic void doNotifyAll(Throwable throwable)
Object.notifyAll()isNotified()getThrowable()throwable - the notifier exceptionpublic void doWait()
throws InterruptedException
Object.wait()isNotified() and getThrowable() to
know the exit reasonInterruptedExceptionpublic void doWait(long timeout)
throws InterruptedException
Object.wait(long)isNotified() and getThrowable() to
know the exit reasontimeout - InterruptedExceptionpublic void doWait(long timeout,
int nanos)
throws InterruptedException
Object.wait(long, int)isNotified() and getThrowable() to
know the exit reasontimeout - nanos - InterruptedExceptionpublic Throwable getThrowable()
public boolean isNotified()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.