public class GeoscalingDnsServiceImpl extends AbstractGeoDnsServiceImpl implements GeoscalingDnsService
AbstractGeoDnsServiceImpl.MemberTrackingPolicyBrooklynObject.TagSupportEntityInternal.FeedSupportCHILD_ADDED, CHILD_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVEDGEOSCALING_ACCOUNT, GEOSCALING_PASSWORD, GEOSCALING_PRIMARY_DOMAIN_NAME, GEOSCALING_SMART_SUBDOMAIN_NAME, GEOSCALING_USERNAME, MAIN_URI, MANAGED_DOMAIN, RANDOMIZE_SUBDOMAIN_NAME, ROOT_URLADDRESS, 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, just calls
AbstractEntity.initEnrichers(). |
void |
onManagementBecomingMaster()
Invoked by
ManagementContext when this entity becomes managed at a particular management node,
including the initial management started and subsequent management node master-change for this entity. |
getTargetHosts, onManagementNoLongerMaster, setServiceState, setTargetEntityProvideraddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, addTag, clearLocations, clearParent, configure, configure, configure, configure, configure, containsTag, emit, emitInternal, equals, feeds, firstLocation, getAllAttributes, getAllConfig, getAllConfigBag, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityType, getExecutionContext, getFeedSupport, getGroups, getIconUrl, getLocalConfigBag, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getTags, hashCode, invalidateReferences, invoke, invoke, invoke, modifyAttribute, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeGroup, removeLocations, removePolicy, removeTag, requestPersist, resetProxy, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, unsubscribe, unsubscribegetCatalogItemId, getId, getTagSupport, rebind, setCatalogItemId, tagsgetTargetHosts, setServiceState, setTargetEntityProvideraddChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addPolicy, addPolicy, addTag, clearParent, containsTag, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getConfig, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEnrichers, getEntityType, getGroups, getIconUrl, getId, getLocations, getParent, getPolicies, getTags, invoke, removeChild, removeEnricher, removeGroup, removePolicy, removeTag, setParentgetCatalogItemId, getTagSupport, tagssetCatalogItemIdpublic void init()
AbstractEntityAbstractEntity.initEnrichers().init in class AbstractEntitypublic void onManagementBecomingMaster()
AbstractEntityManagementContext when this entity becomes managed at a particular management node,
including the initial management started and subsequent management node master-change for this entity.onManagementBecomingMaster in class AbstractGeoDnsServiceImplpublic void applyConfig()
applyConfig in interface GeoscalingDnsServicepublic java.lang.String getHostname()
AbstractGeoDnsServicegetHostname in interface AbstractGeoDnsServicegetHostname in class AbstractGeoDnsServiceImplpublic long getTimeToLiveSeconds()
getTimeToLiveSeconds in interface GeoscalingDnsServicepublic void destroy()
AbstractEntitydestroy in interface EntityInternaldestroy in class AbstractGeoDnsServiceImpl