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<?>, |
SENSOR_SUPPLIER_MAP |
RESTART, SERVICE_UP, START, STOPaddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, clearParent, enrichers, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, groups, invoke, policies, relations, removeChild, removeEnricher, removeGroup, removePolicy, sensors, setDisplayName, setParentgetCatalogItemId, subscriptions, tagsconfig, getConfig, setConfigstatic final ConfigKey<java.lang.Long> POLL_PERIOD
static final ConfigKey<java.util.Map<AttributeSensor<?>,>> SENSOR_SUPPLIER_MAP