|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface StatefulWebServiceManager.Callback<T>
Used by StatefulWebServiceManager.setTimeout(long, Callback)
to determine what to do when the time out is reached.
Method Summary | |
---|---|
void |
onTimeout(T timedOutObject,
StatefulWebServiceManager<T> manager)
Application has a chance to decide if the object should be unexported, or kept alive. |
Method Detail |
---|
void onTimeout(@NotNull T timedOutObject, @NotNull StatefulWebServiceManager<T> manager)
The application should either unexport the object, or touch the object from within this callback. If no action is taken, the object will remain exported until it is manually unexported.
timedOutObject
- The object that reached the time out.manager
- The manager instance that you exported the object to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |