public abstract class AbstractFailureDetector extends AbstractPolicy
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractFailureDetector.CalculatedStatus |
static class |
AbstractFailureDetector.LastPublished |
AbstractEntityAdjunct.AdjunctTagSupport, AbstractEntityAdjunct.BasicSubscriptionSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
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 |
HIGHLIGHT_NAME_LAST_ACTION, HIGHLIGHT_NAME_LAST_CONFIRMATION, HIGHLIGHT_NAME_LAST_VIOLATION, HIGHLIGHT_NAME_TRIGGERS
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, relations, toString
config, configure, getAdjunctType, getConfig, getDisplayName, getEntity, getExecutionContext, getHighlights, getManagementContext, getUniqueTag, isDestroyed, setDisplayName, setHighlights, subscriptions, tags
addSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, init, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, setManagementContext, stackCatalogItemId
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHighlights, getUniqueTag, isDestroyed
getCatalogItemId, getCatalogItemIdSearchPath, getDisplayName, subscriptions, tags
config, getConfig
addSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId
public 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 AbstractEntityAdjunct
public void suspend()
Policy
suspend
in interface Policy
suspend
in class AbstractPolicy
public void resume()
Policy
resume
in interface Policy
resume
in class AbstractPolicy