|
Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ServiceFailurePolicy
ServiceFailurePolicy is used to control how a Guardable associated with a service is managed by its Guardian after the configured timeout.
| Method Summary | |
|---|---|
void |
onGuardableRecovery(Guardable guardable, Service service)Take appropriate action after the specified guardable (associated with the specified service) has missed a "soft-timeout" and has entered the "RECOVERY" state. |
void |
onGuardableTerminate(Guardable guardable, Service service)Take appropriate action after the specified guardable (associated with the specified service) has missed a "hard-timeout" and has entered the "TERMINATING" state. |
void |
onServiceFailed(Cluster cluster)Take appropriate action after some service failed to stop. |
| Method Detail |
|---|
void onGuardableRecovery(Guardable guardable,
Service service)
Guardable.recover() method on the specified guardableguardable - the guardable that entered the RECOVERY stateservice - the service that the guardable is associated with
void onGuardableTerminate(Guardable guardable,
Service service)
Guardable.terminate() method on the specified guardableguardable - the context that entered the TERMINATING stateservice - the service that the guardable is associated withvoid onServiceFailed(Cluster cluster)
cluster - the cluster
|
Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||