public abstract class AbstractMembershipTrackingPolicy extends AbstractPolicy
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractMembershipTrackingPolicy.EventType |
AbstractEntityAdjunct.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<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, relations, toStringconfig, configure, getAdjunctType, getConfig, getConfigMap, getDisplayName, getUniqueTag, isDestroyed, setConfig, setDisplayName, subscribe, subscribeToChildren, subscribeToMembers, subscriptions, tags, unsubscribe, unsubscribegetCatalogItemId, getId, getManagementContext, init, rebind, setCatalogItemId, setManagementContextequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUniqueTag, isDestroyedgetCatalogItemId, getDisplayName, subscriptions, tagsconfig, getConfigsetCatalogItemIdpublic 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