public class GeoscalingDnsServiceImpl extends AbstractGeoDnsServiceImpl implements GeoscalingDnsService
AbstractGeoDnsServiceImpl.MemberTrackingPolicy
BrooklynObject.TagSupport
Configurable.ConfigurationSupport
EntityInternal.FeedSupport
BrooklynObjectInternal.ConfigurationSupportInternal
CHILD_ADDED, CHILD_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_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
ADDRESS, 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, setTargetEntityProvider
addChild, addChild, addEnricher, addEnricher, addFeed, addGroup, addLocations, addPolicy, addPolicy, addTag, clearLocations, clearParent, config, 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, unsubscribe
getCatalogItemId, getId, getTagSupport, rebind, setCatalogItemId, tags
getTargetHosts, setServiceState, setTargetEntityProvider
addChild, 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, setParent
getCatalogItemId, getTagSupport, tags
config, setConfig
setCatalogItemId
public void init()
AbstractEntity
AbstractEntity.initEnrichers()
.init
in class AbstractEntity
public void onManagementBecomingMaster()
AbstractEntity
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.onManagementBecomingMaster
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