Package com.tangosol.coherence.servlet
Class ExitTask
java.lang.Object
com.tangosol.coherence.servlet.ExitTask
- All Implemented Interfaces:
Invocable,Serializable,Runnable
This task is used to unlock a session ID.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExitTask(String sId, AbstractHttpSessionCollection collection) Construct an ExitTask to unlock a specific session. -
Method Summary
Modifier and TypeMethodDescriptionObtain the result of executing this ExitTask.voidinit(InvocationService service) Called by the InvocationService exactly once on this Invocable object as part of its initialization.voidrun()This method attempts to unlock the session ID associated with this ExitTask.voidsetCollection(AbstractHttpSessionCollection collection)
-
Constructor Details
-
ExitTask
Construct an ExitTask to unlock a specific session.- Parameters:
sId- the id of the session that needs to be unlockedcollection- the http session collection
-
-
Method Details
-
init
Called by the InvocationService exactly once on this Invocable object as part of its initialization.Note: implementations of the Invocable interface that store the service reference must do so only in a transient field.
-
setCollection
-
getResult
Obtain the result of executing this ExitTask. -
run
public void run()This method attempts to unlock the session ID associated with this ExitTask.
-