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.SensorSupportBrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupportConfigurable.ConfigurationSupportStartable.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, STOPaddChild, addChild, addFeed, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getCreationTime, getDisplayName, getEntityType, getIconUrl, getId, getLocations, getParent, groups, invoke, policies, relations, removeChild, sensors, setDisplayName, setParentgetCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tagsconfig, getConfigstatic final ConfigKey<java.lang.Long> POLL_PERIOD
static final ConfigKey<java.util.Map<AttributeSensor<?>,<any>>> SENSOR_SUPPLIER_MAP