|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SuspendableComponent
Jersey model component that is suspendable and may hold suspend-related information.
| Method Summary | |
|---|---|
void |
declareSuspend(long timeout,
TimeUnit unit)
Mark the component for suspending. |
long |
getSuspendTimeout()
Get the suspend timeout value in the given time unit. |
TimeUnit |
getSuspendTimeoutUnit()
Get the suspend timeout value time unit. |
boolean |
isSuspendDeclared()
Check if the component is marked for suspending. |
| Method Detail |
|---|
boolean isSuspendDeclared()
true if the component is marked for suspending,
false otherwise.long getSuspendTimeout()
time unit.
@Suspend.timeOut()TimeUnit getSuspendTimeoutUnit()
timeout value time unit.
@Suspend.timeUnit()
void declareSuspend(long timeout,
TimeUnit unit)
timeout - suspend timeout value.unit - suspend timeout time unit.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||