public abstract class AbstractMembershipTrackingPolicy extends AbstractPolicy
Modifier and Type | Class and Description |
---|---|
static class |
AbstractMembershipTrackingPolicy.EventType |
AbstractEntityAdjunct.AdjunctTagSupport
BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.ConfigurationSupportInternal
Modifier and Type | Field and Description |
---|---|
static ConfigKey<Group> |
GROUP |
static ConfigKey<java.lang.Boolean> |
NOTIFY_ON_DUPLICATES |
static ConfigKey<java.util.Set<Sensor<?>>> |
SENSORS_TO_TRACK |
Constructor and Description |
---|
AbstractMembershipTrackingPolicy() |
AbstractMembershipTrackingPolicy(java.util.Map<?,?> flags) |
Modifier and Type | Method and Description |
---|---|
void |
reset()
Deprecated.
since 0.7; misleading method name; either remove the policy, or suspend/resume
|
void |
resume()
Resume the policy
|
void |
setEntity(EntityLocal entity) |
void |
setGroup(Group group)
Deprecated.
since 0.7; instead set the group as config
|
void |
suspend()
Suspend the policy
|
destroy, getPolicyType, getRebindSupport, isRunning, isSuspended, 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> NOTIFY_ON_DUPLICATES
public AbstractMembershipTrackingPolicy(java.util.Map<?,?> flags)
public AbstractMembershipTrackingPolicy()
public void setEntity(EntityLocal entity)
setEntity
in class AbstractEntityAdjunct
@Deprecated public void setGroup(Group group)
group
- @Deprecated public void reset()
public void suspend()
Policy
suspend
in interface Policy
suspend
in class AbstractPolicy
public void resume()
Policy
resume
in interface Policy
resume
in class AbstractPolicy