|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Guardian
A Guardian is responsible for monitoring the registered Guardable objects.
| Nested Class Summary | |
|---|---|
static interface |
Guardian.GuardContextA GuardContext represents the lifecycle status of a Guardable. |
| Method Summary | |
|---|---|
float |
getDefaultGuardRecovery()Default recovery percentage for Guardables monitored by this Guardian. |
long |
getDefaultGuardTimeout()Default timeout interval (in milliseconds) for Guardables monitored by this Guardian. |
Guardian.GuardContext |
guard(Guardable guardable)Register the specified Guardable based on the Guardian's SLA parameters. |
Guardian.GuardContext |
guard(Guardable guardable, long cMillis, float flPctRecover)Register the specified Guardable with the specified SLA parameters. |
| Method Detail |
|---|
Guardian.GuardContext guard(Guardable guardable)
It's possible that the Guardian's defaults will prevent the Guardable from being registered. In such a case, this method returns null.
guardable - the Guardable to be monitored by this Guardian
Guardian.GuardContext guard(Guardable guardable,
long cMillis,
float flPctRecover)
guardable - the Guardable to be guarded by this GuardiancMillis - the timeout for the specified GuardableflPctRecover - the percentage of the timeout after which to attempt recovery of the Guardable; 0 < flPctRecover <eq; 1.0long getDefaultGuardTimeout()
float getDefaultGuardRecovery()
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||