Package com.tangosol.coherence.servlet
Interface SessionHelper.Task
-
- All Superinterfaces:
Runnable
- Enclosing class:
- SessionHelper
protected static interface SessionHelper.Task extends Runnable
Interface for detecting when a Runnable Task has completed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isDone()
Indicate if the task has completed.boolean
isSucceeded()
Indicates wheter the task has succeeded (accomplished what it was intended to do) or not.void
setDone(boolean fDone)
Specify if the task has completed.void
setSucceeded(boolean fSucceeded)
Specify whether the task has succeeded or not.
-
-
-
Method Detail
-
setDone
void setDone(boolean fDone)
Specify if the task has completed.- Parameters:
fDone
- true if the task has completed its execution.
-
isDone
boolean isDone()
Indicate if the task has completed.- Returns:
- true if the task has completed its execution
-
setSucceeded
void setSucceeded(boolean fSucceeded)
Specify whether the task has succeeded or not.- Parameters:
fSucceeded
- true if the task has succeeded.
-
isSucceeded
boolean isSucceeded()
Indicates wheter the task has succeeded (accomplished what it was intended to do) or not.- Returns:
- true if the task has succeeded.
-
-