|
Oracle® Coherence Java API Reference v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Guardable
A Guardable is a logical execution unit whose lifetime may be guarded by a Guardian. A Guardable may be a simple thread, or a more complex service.
Guardable objects are responsible for periodically proving that they are alive. Failure to do so will cause the Guardian to take corrective actions:
| Method Summary | |
|---|---|
void |
recover()
Attempt to recover this Guardable. |
void |
setContext(Guardian.GuardContext context)
Set the guard context. |
void |
terminate()
Terminate this Guardable. |
| Method Detail |
|---|
void setContext(Guardian.GuardContext context)
context - the context guarding this Guardablevoid recover()
void terminate()
|
Oracle® Coherence Java API Reference v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||