public class Sync
extends java.lang.Object
| Constructor and Description |
|---|
Sync() |
| Modifier and Type | Method and Description |
|---|---|
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() |
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()