Brooklyn

brooklyn.entity.dns.geoscaling
[Groovy] Class GeoscalingDnsService

java.lang.Object
  groovy.lang.GroovyObjectSupport
      brooklyn.entity.basic.AbstractEntity
          brooklyn.entity.dns.AbstractGeoDnsService
              brooklyn.entity.dns.geoscaling.GeoscalingDnsService

class GeoscalingDnsService
extends AbstractGeoDnsService

Field Summary
static BasicAttributeSensor GEOSCALING_ACCOUNT

static BasicConfigKey GEOSCALING_PASSWORD

static BasicConfigKey GEOSCALING_PRIMARY_DOMAIN_NAME

static BasicConfigKey GEOSCALING_SMART_SUBDOMAIN_NAME

static BasicConfigKey GEOSCALING_USERNAME

static BasicAttributeSensor MANAGED_DOMAIN

static BasicConfigKey RANDOMIZE_SUBDOMAIN_NAME

 
Fields inherited from class AbstractGeoDnsService
HOSTNAME, SERVICE_STATE, SERVICE_UP, TARGETS, entitiesWithoutGeoInfo, log, targetEntityProvider, targetHosts
 
Fields inherited from class AbstractEntity
LOG, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, application, attributesInternal, configsInternal, execution, managementContext, managementData, subscription, tempWorkings
 
Property Summary
boolean isConfigured

 
Constructor Summary
GeoscalingDnsService(java.util.Map properties = [:], Entity owner = null)

 
Method Summary
void applyConfig()

void destroy()

java.lang.String getHostname()

long getTimeToLiveSeconds()

minimum/default TTL here is 300s = 5m

void onManagementBecomingMaster()

protected void reconfigureService(java.util.Collection targetHosts)

 
Methods inherited from class AbstractGeoDnsService
addTargetHost, beginPoll, destroy, endPoll, getHostname, onManagementBecomingMaster, onManagementNoLongerMaster, reconfigureService, refreshGroupMembership, removeTargetHost, setServiceState, setTargetEntityProvider, update
 
Methods inherited from class AbstractEntity
addEnricher, addGroup, addOwnedChild, addPolicy, assertNotYetOwned, clearOwner, configure, configure, destroy, emit, emitInternal, firstLocation, getAllConfig, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getConfig, getConfig, getConfig, getConfig, getConfigMap, getEffector, getEnrichers, getEntityType, getExecutionContext, getGroups, getLocations, getManagementContext, getMutableEntityType, getOwnedChildren, getOwner, getPolicies, getSubscriptionContext, getSubscriptionTracker, hasEverBeenManaged, invalidate, invoke, invoke, invokeFromJava, invokeMethod, onManagementBecomingMaster, onManagementNoLongerMaster, refreshInheritedConfig, refreshInheritedConfigOfChildren, removeAllEnrichers, removeAllPolicies, removeAttribute, removeEnricher, removeOwnedChild, removePolicy, setApplication, setAttribute, setAttribute, setBeingManaged, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setOwner, subscribe, subscribeToChildren, subscribeToMembers, toString, toStringFieldsToInclude, unsubscribe, unsubscribe
 
Methods inherited from class groovy.lang.GroovyObjectSupport
groovy.lang.GroovyObjectSupport#setProperty(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#getProperty(java.lang.String), groovy.lang.GroovyObjectSupport#getMetaClass(), groovy.lang.GroovyObjectSupport#setMetaClass(groovy.lang.MetaClass), groovy.lang.GroovyObjectSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.lang.GroovyObjectSupport#wait(), groovy.lang.GroovyObjectSupport#wait(long), groovy.lang.GroovyObjectSupport#wait(long, int), groovy.lang.GroovyObjectSupport#equals(java.lang.Object), groovy.lang.GroovyObjectSupport#toString(), groovy.lang.GroovyObjectSupport#hashCode(), groovy.lang.GroovyObjectSupport#getClass(), groovy.lang.GroovyObjectSupport#notify(), groovy.lang.GroovyObjectSupport#notifyAll()
 

Field Detail

GEOSCALING_ACCOUNT

public static final BasicAttributeSensor GEOSCALING_ACCOUNT


GEOSCALING_PASSWORD

@SetFromFlag("password")
public static final BasicConfigKey GEOSCALING_PASSWORD


GEOSCALING_PRIMARY_DOMAIN_NAME

@SetFromFlag("primaryDomainName")
public static final BasicConfigKey GEOSCALING_PRIMARY_DOMAIN_NAME


GEOSCALING_SMART_SUBDOMAIN_NAME

@SetFromFlag("smartSubdomainName")
public static final BasicConfigKey GEOSCALING_SMART_SUBDOMAIN_NAME


GEOSCALING_USERNAME

@SetFromFlag("username")
public static final BasicConfigKey GEOSCALING_USERNAME


MANAGED_DOMAIN

public static final BasicAttributeSensor MANAGED_DOMAIN


RANDOMIZE_SUBDOMAIN_NAME

@SetFromFlag("randomizeSubdomainName")
public static final BasicConfigKey RANDOMIZE_SUBDOMAIN_NAME


 
Property Detail

isConfigured

boolean isConfigured


 
Constructor Detail

GeoscalingDnsService

GeoscalingDnsService(java.util.Map properties = [:], Entity owner = null)


 
Method Detail

applyConfig

void applyConfig()


destroy

@Override
void destroy()


getHostname

@Override
java.lang.String getHostname()


getTimeToLiveSeconds

long getTimeToLiveSeconds()
minimum/default TTL here is 300s = 5m


onManagementBecomingMaster

@Override
void onManagementBecomingMaster()


reconfigureService

protected void reconfigureService(java.util.Collection targetHosts)


 

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