public class GeoscalingDnsServiceImpl extends AbstractGeoDnsServiceImpl implements GeoscalingDnsService
AbstractGeoDnsServiceImpl.MemberTrackingPolicy
AbstractEntity.BasicConfigurationSupport, AbstractEntity.BasicEnricherSupport, AbstractEntity.BasicGroupSupport, AbstractEntity.BasicPolicySupport, AbstractEntity.BasicSensorSupport, AbstractEntity.BasicSubscriptionSupport
Entity.AdjunctSupport<T extends EntityAdjunct>, Entity.EnricherSupport, Entity.GroupSupport, Entity.PolicySupport, Entity.SensorSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
EntityInternal.EnricherSupportInternal, EntityInternal.EntitySubscriptionSupportInternal, EntityInternal.FeedSupport, EntityInternal.GroupSupportInternal, EntityInternal.PolicySupportInternal, EntityInternal.SensorSupportInternal
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
APPLICATION_ID, CATALOG_ID, CHILD_ADDED, CHILD_REMOVED, CONFIG_KEY_ADDED, CONFIG_KEY_REMOVED, DEFAULT_DISPLAY_NAME, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, ENTITY_ID, GROUP_ADDED, GROUP_REMOVED, LOCATION_ADDED, LOCATION_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED
GEOSCALING_ACCOUNT, GEOSCALING_PASSWORD, GEOSCALING_PRIMARY_DOMAIN_NAME, GEOSCALING_SMART_SUBDOMAIN_NAME, GEOSCALING_USERNAME, MAIN_URI, MANAGED_DOMAIN, RANDOMIZE_SUBDOMAIN_NAME, ROOT_URL, SSL_TRUST_ALL
ADDRESS, ENTITY_PROVIDER, FILTER_FOR_RUNNING, HOSTNAME, INCLUDE_HOMELESS_ENTITIES, SERVICE_STATE_ACTUAL, SERVICE_UP, TARGETS, USE_HOSTNAMES
Constructor and Description |
---|
GeoscalingDnsServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
applyConfig() |
void |
destroy()
Should be invoked at end-of-life to clean up the item.
|
java.lang.String |
getHostname()
should return the hostname which this DNS service is configuring
|
long |
getTimeToLiveSeconds()
minimum/default TTL here is 300s = 5m
|
void |
init()
Default entity initialization sets ID sensors and calls
AbstractEntity.initEnrichers() . |
void |
onManagementStarted()
Invoked by
EntityManagementSupport when this entity is fully managed and visible to other entities
through the management context. |
getTargetHosts, onManagementStopped, setServiceState, setTargetEntityProvider
addChild, addChild, addFeed, addLocations, addLocationsWithoutPublishing, clearLocations, clearParent, config, configure, configure, enrichers, equals, feeds, firstLocation, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getCreationTime, getDisplayName, getEffector, getEntityType, getExecutionContext, getIconUrl, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getProxy, getProxyIfAvailable, getRebindSupport, groups, hashCode, invalidateReferences, invoke, invoke, invoke, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarting, policies, relations, removeChild, removeLocations, requestPersist, resetProxy, sensors, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setManagementContext, setParent, setProxy, subscriptions, toMetadataRecord, toString
addSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, rebind, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId, tags
getTargetHosts, setServiceState, setTargetEntityProvider
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
addSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId
public void init()
AbstractEntity
AbstractEntity.initEnrichers()
.init
in class AbstractGeoDnsServiceImpl
public void onManagementStarted()
AbstractEntity
EntityManagementSupport
when this entity is fully managed and visible to other entities
through the management context.onManagementStarted
in class AbstractGeoDnsServiceImpl
public void applyConfig()
applyConfig
in interface GeoscalingDnsService
public java.lang.String getHostname()
AbstractGeoDnsService
getHostname
in interface AbstractGeoDnsService
getHostname
in class AbstractGeoDnsServiceImpl
public long getTimeToLiveSeconds()
getTimeToLiveSeconds
in interface GeoscalingDnsService
public void destroy()
AbstractEntity
destroy
in interface EntityInternal
destroy
in class AbstractGeoDnsServiceImpl