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.AdjunctTagSupport
BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.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, toString
config, configure, getAllConfig, getConfig, getConfigMap, getDisplayName, getName, getUniqueTag, isDestroyed, setConfig, setDisplayName, setName, tags
getCatalogItemId, getId, getManagementContext, getTagSupport, init, rebind, setCatalogItemId, setManagementContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAllConfig, getConfig, getId, getName, setConfig
getUniqueTag, isDestroyed
getCatalogItemId, getDisplayName, getTagSupport, tags
config
setCatalogItemId
public 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