public interface SequenceEntity extends Entity, Startable
Usage:
- type: org.apache.brooklyn.entity.stock.SequenceEntity
id: global-sequence
brooklyn.config:
sequence.start: 0
sequence.increment: 1
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
Startable.RestartEffectorBody, Startable.StartEffectorBody, Startable.StopEffectorBody
Modifier and Type | Field and Description |
---|---|
static MethodEffector<java.lang.Integer> |
GET |
static MethodEffector<java.lang.Void> |
INCREMENT |
static MethodEffector<java.lang.Integer> |
INCREMENT_AND_GET |
static MethodEffector<java.lang.Void> |
RESET |
static ConfigKey<java.lang.Integer> |
SEQUENCE_INCREMENT |
static ConfigKey<java.lang.Integer> |
SEQUENCE_START |
static AttributeSensor<java.util.concurrent.atomic.AtomicInteger> |
SEQUENCE_STATE |
static AttributeSensor<java.lang.Integer> |
SEQUENCE_VALUE |
RESTART, SERVICE_UP, START, STOP
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
get() |
java.lang.Void |
increment() |
java.lang.Integer |
incrementAndGet() |
java.lang.Void |
reset() |
addChild, addChild, addFeed, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, groups, invoke, policies, relations, removeChild, sensors, setDisplayName, setParent
getCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tags
config, getConfig
static final AttributeSensor<java.lang.Integer> SEQUENCE_VALUE
static final AttributeSensor<java.util.concurrent.atomic.AtomicInteger> SEQUENCE_STATE
static final ConfigKey<java.lang.Integer> SEQUENCE_START
static final ConfigKey<java.lang.Integer> SEQUENCE_INCREMENT
static final MethodEffector<java.lang.Void> RESET
static final MethodEffector<java.lang.Void> INCREMENT
static final MethodEffector<java.lang.Integer> GET
static final MethodEffector<java.lang.Integer> INCREMENT_AND_GET