ServiceFailureDetector associated with each member instead.public class MemberFailureDetectionPolicy extends AbstractPolicy
group.addPolicy(new MemberFailureDetectionPolicy(...));
Basic "failure" is defined as the service being "running" but isUp having flipped from
true to false.
These criteria can be further configured using "onlyReportIfPreviouslyUp" and
"useServiceStateRunning".AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.ConfigurationSupportInternal| Modifier and Type | Field and Description |
|---|---|
static ConfigKey<com.google.common.base.Predicate<? super Entity>> |
MEMBER_FILTER
Deprecated.
|
static ConfigKey<java.lang.Boolean> |
ONLY_REPORT_IF_PREVIOUSLY_UP
Deprecated.
|
static ConfigKey<java.lang.Boolean> |
USE_SERVICE_STATE_RUNNING
Deprecated.
|
| Constructor and Description |
|---|
MemberFailureDetectionPolicy()
Deprecated.
|
MemberFailureDetectionPolicy(java.util.Map<java.lang.String,?> flags)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setEntity(EntityLocal entity)
Deprecated.
|
destroy, getPolicyType, getRebindSupport, isRunning, isSuspended, resume, suspend, toStringconfig, configure, getAllConfig, getConfig, getConfigMap, getDisplayName, getName, getUniqueTag, isDestroyed, setConfig, setDisplayName, setName, tagsgetCatalogItemId, getId, getManagementContext, getTagSupport, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllConfig, getConfig, getId, getName, setConfiggetUniqueTag, isDestroyedgetCatalogItemId, getDisplayName, getTagSupport, tagsconfigsetCatalogItemIdpublic static final ConfigKey<java.lang.Boolean> ONLY_REPORT_IF_PREVIOUSLY_UP
public static final ConfigKey<java.lang.Boolean> USE_SERVICE_STATE_RUNNING
public MemberFailureDetectionPolicy()
public MemberFailureDetectionPolicy(java.util.Map<java.lang.String,?> flags)
public void setEntity(EntityLocal entity)
setEntity in class AbstractEntityAdjunct