public class DockerInfrastructureImpl extends brooklyn.entity.basic.BasicStartableImpl implements DockerInfrastructure
brooklyn.basic.AbstractBrooklynObject.BasicTagSupportbrooklyn.entity.basic.BasicStartable.LocationsFilter_subscriptionTracker, CHILD_ADDED, CHILD_REMOVED, EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, managementSupport, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, tempWorkingsDOCKER_APPLICATIONS, DOCKER_CONTAINER_CLUSTER_MAX_CPU, DOCKER_CONTAINER_CLUSTER_MAX_SIZE, DOCKER_CONTAINER_COUNT, DOCKER_CONTAINER_FABRIC, DOCKER_HARDWARE_ID, DOCKER_HOST_AFFINITY_RULES, DOCKER_HOST_CLUSTER, DOCKER_HOST_CLUSTER_MIN_SIZE, DOCKER_HOST_COUNT, DOCKER_HOST_SPEC, DOCKER_IMAGE_ID, DOCKER_VERSION, DOCKERFILE_NAME, DOCKERFILE_URL, OPEN_IPTABLES, PLACEMENT_STRATEGY, REGISTER_DOCKER_HOST_LOCATIONS, REMOVE_EMPTY_DOCKER_HOSTS, SECURITY_GROUP| Constructor and Description |
|---|
DockerInfrastructureImpl() |
| Modifier and Type | Method and Description |
|---|---|
DockerLocation |
createLocation(Map<String,?> flags) |
void |
deleteLocation() |
brooklyn.entity.basic.DynamicGroup |
getContainerFabric() |
Integer |
getCurrentSize() |
List<brooklyn.entity.Entity> |
getDockerContainerList() |
brooklyn.entity.group.DynamicCluster |
getDockerHostCluster() |
List<brooklyn.entity.Entity> |
getDockerHostList() |
DockerLocation |
getDynamicLocation() |
void |
init() |
boolean |
isLocationAvailable() |
Integer |
resize(Integer desiredSize) |
void |
start(Collection<? extends brooklyn.location.Location> locations) |
void |
stop()
De-register our
DockerLocation and its children. |
addChild, addChild, addEnricher, addEnricher, addGroup, addLocations, addPolicy, addPolicy, addTag, clearLocations, clearParent, configure, configure, configure, configure, configure, containsTag, destroy, emit, emitInternal, equals, finalize, firstLocation, getAllAttributes, getAllConfig, getAllConfigBag, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getConfigRaw, getConfigRaw, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityManager, getEntityType, getEntityTypeName, getExecutionContext, getGroups, getIconUrl, getLocalConfigBag, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getSubscriptionTracker, getTags, hashCode, initEnrichers, invalidateReferences, invoke, invoke, invoke, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, onTagsChanged, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeGroup, removeLocations, removePolicy, removeTag, requestPersist, setApplication, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setDefaultDisplayName, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, toStringHelper, unsubscribe, unsubscribeconfigure, getId, getTagSupport, isLegacyConstruction, isRebinding, rebindaddChild, addChild, addEnricher, addEnricher, 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, setParentpublic void init()
init in class brooklyn.entity.basic.AbstractEntitypublic List<brooklyn.entity.Entity> getDockerHostList()
getDockerHostList in interface DockerInfrastructurepublic brooklyn.entity.group.DynamicCluster getDockerHostCluster()
getDockerHostCluster in interface DockerInfrastructurepublic List<brooklyn.entity.Entity> getDockerContainerList()
getDockerContainerList in interface DockerInfrastructurepublic brooklyn.entity.basic.DynamicGroup getContainerFabric()
getContainerFabric in interface DockerInfrastructurepublic Integer resize(Integer desiredSize)
resize in interface brooklyn.entity.trait.Resizablepublic Integer getCurrentSize()
getCurrentSize in interface brooklyn.entity.trait.Resizablepublic DockerLocation getDynamicLocation()
getDynamicLocation in interface brooklyn.location.dynamic.LocationOwner<DockerLocation,DockerInfrastructure>public boolean isLocationAvailable()
isLocationAvailable in interface brooklyn.location.dynamic.LocationOwner<DockerLocation,DockerInfrastructure>public DockerLocation createLocation(Map<String,?> flags)
createLocation in interface brooklyn.location.dynamic.LocationOwner<DockerLocation,DockerInfrastructure>public void deleteLocation()
deleteLocation in interface brooklyn.location.dynamic.LocationOwner<DockerLocation,DockerInfrastructure>public void start(Collection<? extends brooklyn.location.Location> locations)
start in interface brooklyn.entity.trait.Startablestart in class brooklyn.entity.basic.BasicStartableImplpublic void stop()
DockerLocation and its children.stop in interface brooklyn.entity.trait.Startablestop in class brooklyn.entity.basic.BasicStartableImplCopyright © 2014. All rights reserved.