public abstract class AbstractMembershipTrackingPolicy extends AbstractPolicy
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractMembershipTrackingPolicy.EventType |
AbstractEntityAdjunct.AdjunctTagSupportBrooklynObject.TagSupportConfigurable.ConfigurationSupportBrooklynObjectInternal.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, 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> 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()
Policysuspend in interface Policysuspend in class AbstractPolicypublic void resume()
Policyresume in interface Policyresume in class AbstractPolicy