public class SshMachineFailureDetector extends AbstractFailureDetector
AbstractFailureDetector.CalculatedStatus, AbstractFailureDetector.LastPublishedAbstractEntityAdjunct.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 ConfigKey<Duration> |
CONNECT_TIMEOUT |
static BasicNotificationSensor<HASensors.FailureDescriptor> |
CONNECTION_FAILED |
static BasicNotificationSensor<HASensors.FailureDescriptor> |
CONNECTION_RECOVERED |
static java.lang.String |
DEFAULT_UNIQUE_TAG |
FAILED_STABILIZATION_DELAY, POLL_PERIOD, RECOVERED_STABILIZATION_DELAY, SENSOR_FAILED, SENSOR_RECOVEREDHIGHLIGHT_NAME_LAST_ACTION, HIGHLIGHT_NAME_LAST_CONFIRMATION, HIGHLIGHT_NAME_LAST_VIOLATION, HIGHLIGHT_NAME_TRIGGERS| Constructor and Description |
|---|
SshMachineFailureDetector() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Called by framework (in new-style instances where spec was used) after configuring etc,
but before a reference to this instance is shared.
|
resume, setEntity, suspenddestroy, getPolicyType, getRebindSupport, isRunning, isSuspended, relations, toStringconfig, configure, getAdjunctType, getConfig, getDisplayName, getEntity, getExecutionContext, getHighlights, getManagementContext, getUniqueTag, isDestroyed, setDisplayName, setHighlights, subscriptions, tagsaddSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, setManagementContext, stackCatalogItemIdequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHighlights, getUniqueTag, isDestroyedgetCatalogItemId, getCatalogItemIdSearchPath, getDisplayName, subscriptions, tagsconfig, getConfigaddSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemIdpublic static final java.lang.String DEFAULT_UNIQUE_TAG
public static final BasicNotificationSensor<HASensors.FailureDescriptor> CONNECTION_FAILED
public static final BasicNotificationSensor<HASensors.FailureDescriptor> CONNECTION_RECOVERED
public void init()
AbstractBrooklynObjectTo preserve backwards compatibility for if the instance is constructed directly, one can call the code below, but that means it will be called after references to this policy have been shared with other entities.
if (isLegacyConstruction()) {
init();
}
init in class AbstractBrooklynObject