public interface DataEntity extends Entity, Startable
AttributeSensor
values.
Usage:
EntitySpec.create(DataEntity.class)
.configure(SENSOR_DATA_MAP, MutableMap.builder()
.put(Sensors.newStringSensor("string.data"), new Supplier<String>() { ... })
.put(Sensors.newLongSensor("long.data"), new Supplier<Long>() { ... })
.build());
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 ConfigKey<java.lang.Long> |
POLL_PERIOD |
static ConfigKey<java.util.Map<AttributeSensor<?>,<any>>> |
SENSOR_SUPPLIER_MAP |
RESTART, SERVICE_UP, START, STOP
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 ConfigKey<java.lang.Long> POLL_PERIOD
static final ConfigKey<java.util.Map<AttributeSensor<?>,<any>>> SENSOR_SUPPLIER_MAP