Brooklyn

brooklyn.entity.dns.geoscaling
[Java] Class GeoscalingDnsServiceImpl

java.lang.Object
  brooklyn.entity.basic.AbstractEntity
      brooklyn.entity.dns.AbstractGeoDnsServiceImpl
          brooklyn.entity.dns.geoscaling.GeoscalingDnsServiceImpl
All Implemented Interfaces:
GeoscalingDnsService

public class GeoscalingDnsServiceImpl
extends AbstractGeoDnsServiceImpl

Field Summary
 
Fields inherited from class AbstractGeoDnsServiceImpl
entitiesWithoutGeoInfo, entitiesWithoutHostname, targetEntityProvider, targetHosts
 
Fields inherited from class AbstractEntity
EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, managementSupport, tempWorkings
 
Constructor Summary
GeoscalingDnsServiceImpl()

 
Method Summary
void applyConfig()

void destroy()

java.lang.String getHostname()

minimum/default TTL here is 300s = 5m

long getTimeToLiveSeconds()

void init()

void onManagementBecomingMaster()

protected void reconfigureService(java.util.Collection targetHosts)

 
Methods inherited from class AbstractGeoDnsServiceImpl
addTargetHost, beginPoll, destroy, endPoll, getHostname, getTargetHosts, inferHostGeoInfo, inferHostname, inferIp, onManagementBecomingMaster, onManagementNoLongerMaster, reconfigureService, refreshGroupMembership, removeTargetHost, setServiceState, setTargetEntityProvider, update
 
Methods inherited from class AbstractEntity
addChild, addChild, addEnricher, addGroup, addLocations, addPolicy, clearLocations, clearParent, configure, configure, configure, configure, configure, configure, destroy, emit, emitInternal, equals, finalize, firstLocation, getAllAttributes, getAllConfig, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityManager, getEntityType, getEntityTypeName, getExecutionContext, getGroups, getIconUrl, getId, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getSubscriptionTracker, hashCode, init, invalidateReferences, invoke, invoke, invoke, isLegacyConstruction, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeLocations, removePolicy, setApplication, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, toStringHelper, unsubscribe, unsubscribe
 

Constructor Detail

GeoscalingDnsServiceImpl

public GeoscalingDnsServiceImpl()


 
Method Detail

applyConfig

public void applyConfig()


destroy

webClient.login(username, password);
public void destroy()


getHostname

public long getTimeToLiveSeconds() { return 5*60; }
public java.lang.String getHostname()
minimum/default TTL here is 300s = 5m


getTimeToLiveSeconds

public long getTimeToLiveSeconds()


init

super.init();
public void init()


onManagementBecomingMaster

boo
public void onManagementBecomingMaster()


reconfigureService

protected void reconfigureService(java.util.Collection targetHosts)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.