public class ServiceRestarter extends AbstractPolicy
ENTITY_RESTART_FAILEDAbstractEntityAdjunct.AdjunctTagSupport, AbstractEntityAdjunct.BasicSubscriptionSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal| Modifier and Type | Field and Description |
|---|---|
static BasicNotificationSensor<HASensors.FailureDescriptor> |
ENTITY_RESTART_FAILED |
static ConfigKey<Duration> |
FAIL_ON_RECURRING_FAILURES_IN_THIS_DURATION
skips retry if a failure re-occurs within this time interval
|
static ConfigKey<Sensor<?>> |
FAILURE_SENSOR_TO_MONITOR
monitors this sensor, by default ENTITY_FAILED
|
static ConfigKey<java.lang.Boolean> |
SET_ON_FIRE_ON_FAILURE |
HIGHLIGHT_NAME_LAST_ACTION, HIGHLIGHT_NAME_LAST_CONFIRMATION, HIGHLIGHT_NAME_LAST_VIOLATION, HIGHLIGHT_NAME_TRIGGERS| Constructor and Description |
|---|
ServiceRestarter() |
| Modifier and Type | Method and Description |
|---|---|
void |
setEntity(EntityLocal entity) |
destroy, getPolicyType, getRebindSupport, isRunning, isSuspended, relations, resume, suspend, toStringconfig, configure, getAdjunctType, getConfig, getDisplayName, getEntity, getExecutionContext, getHighlights, getManagementContext, getUniqueTag, isDestroyed, setDisplayName, setHighlights, subscriptions, tagsaddSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, init, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, setManagementContext, stackCatalogItemIdequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHighlights, getUniqueTag, isDestroyedgetCatalogItemId, getCatalogItemIdSearchPath, getDisplayName, subscriptions, tagsconfig, getConfigaddSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemIdpublic static final BasicNotificationSensor<HASensors.FailureDescriptor> ENTITY_RESTART_FAILED
public static final ConfigKey<Duration> FAIL_ON_RECURRING_FAILURES_IN_THIS_DURATION
public static final ConfigKey<java.lang.Boolean> SET_ON_FIRE_ON_FAILURE
public void setEntity(EntityLocal entity)
setEntity in class AbstractEntityAdjunct