|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ws4d.java.util.Sync
public class Sync
Synchronizes objects for correct wait() and notify() implementation as described in Object.wait().
Constructor Summary | |
---|---|
Sync()
|
Method Summary | |
---|---|
java.lang.Exception |
getException()
Returns the exception for this synchronization object. |
boolean |
isNotified()
Returns true if a notification was created,
false otherwise. |
void |
notifyNow()
Notifies all. |
void |
notifyNow(java.lang.Exception e)
Notifies all if an exception occurs. |
void |
reset()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sync()
Method Detail |
---|
public boolean isNotified()
true
if a notification was created,
false
otherwise.
true
if a notification was created,
false
otherwise.public void notifyNow()
public void notifyNow(java.lang.Exception e)
public java.lang.Exception getException()
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |