Deprecated
as a consequence of Continuation being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Object | |
| pack-priv Request | |
| pack-priv RetryRequest | _retry
Deprecated
as a consequence of
RetryRequest being deprecated.
|
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| 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 o)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. |
| _object | back to summary |
|---|---|
| pack-priv Object _object | |
| _request | back to summary |
|---|---|
| pack-priv Request _request | |
| _retry | back to summary |
|---|---|
| pack-priv RetryRequest _retry
Deprecated as a consequence of | |
| Servlet3Continuation | back to summary |
|---|---|
| pack-priv Servlet3Continuation(Request request) | |
| 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 o) 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.
| |