public abstract class AbstractFailureDetector extends AbstractPolicy
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractFailureDetector.CalculatedStatus |
static class |
AbstractFailureDetector.LastPublished |
AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<Duration> |
FAILED_STABILIZATION_DELAY |
static ConfigKey<Duration> |
POLL_PERIOD |
static ConfigKey<Duration> |
RECOVERED_STABILIZATION_DELAY |
static ConfigKey<Sensor<HASensors.FailureDescriptor>> |
SENSOR_FAILED |
static ConfigKey<Sensor<HASensors.FailureDescriptor>> |
SENSOR_RECOVERED |
| Constructor and Description |
|---|
AbstractFailureDetector() |
| Modifier and Type | Method and Description |
|---|---|
void |
resume()
Resume the policy
|
void |
setEntity(EntityLocal entity) |
void |
suspend()
Suspend the policy
|
destroy, getPolicyType, getRebindSupport, isRunning, isSuspended, toStringconfig, configure, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, tags, unsubscribe, unsubscribegetCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUniqueTag, isDestroyedgetCatalogItemId, getDisplayName, tagsconfigsetCatalogItemIdpublic static final ConfigKey<Sensor<HASensors.FailureDescriptor>> SENSOR_FAILED
public static final ConfigKey<Sensor<HASensors.FailureDescriptor>> SENSOR_RECOVERED
public void setEntity(EntityLocal entity)
setEntity in class AbstractEntityAdjunctpublic void suspend()
Policysuspend in interface Policysuspend in class AbstractPolicypublic void resume()
Policyresume in interface Policyresume in class AbstractPolicy