Deprecated
as a consequence of Continuation being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv Object | |
| pack-priv boolean | |
| pack-priv Object | |
| pack-priv boolean | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Object | getObject()
Implements org. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | setObject(Object
An arbitrary object to associate with the continuation object)Implements org. |
| public boolean | suspend(long
A timeout of < 0 will cause an immediate return. I timeout of 0 will wait indefinitely. timeout)Implements org. |
| public String |
| _expired | back to summary |
|---|---|
| pack-priv boolean _expired | |
| _mutex | back to summary |
|---|---|
| pack-priv Object _mutex | |
| _new | back to summary |
|---|---|
| pack-priv boolean _new | |
| _object | back to summary |
|---|---|
| pack-priv Object _object | |
| _pending | back to summary |
|---|---|
| pack-priv boolean _pending | |
| _resumed | back to summary |
|---|---|
| pack-priv boolean _resumed | |
| WaitingContinuation | back to summary |
|---|---|
| public WaitingContinuation() | |
| WaitingContinuation | back to summary |
|---|---|
| public WaitingContinuation(Object mutex) | |
| getMutex | back to summary |
|---|---|
| public Object getMutex() | |
| getObject | back to summary |
|---|---|
| public Object getObject() Implements org. Doc from org. Arbitrary object associated with the continuation for context.
| |
| isExpired | back to summary |
|---|---|
| public boolean isExpired() Implements org. Doc from org. Get the resumed status?
| |
| isNew | back to summary |
|---|---|
| public boolean isNew() Implements org. Doc from org. Is this a newly created Continuation.
A newly created continuation has not had
| |
| isPending | back to summary |
|---|---|
| public boolean isPending() Implements org. Doc from org. Get the pending status?
A continuation is pending while the handling of a call to suspend has not completed.
For blocking continuations, pending is true only during the call to
| |
| isResumed | back to summary |
|---|---|
| public boolean isResumed() Implements org. Doc from org. Get the resumed status?
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. Reset the continuation. Cancel any pending status of the continuation. | |
| resume | back to summary |
|---|---|
| public void resume() Implements org. Doc from org. Resume the request. Resume a suspended request. The passed event will be returned in the getObject method. | |
| setMutex | back to summary |
|---|---|
| public void setMutex(Object mutex) Implements org. | |
| setObject | back to summary |
|---|---|
| public void setObject(Object object) Implements org. Doc from org. Arbitrary object associated with the continuation for context.
| |
| suspend | back to summary |
|---|---|
| public boolean suspend(long timeout) Implements org. Doc from org. Suspend handling. This method will suspend the request for the timeout or until resume is called.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |