public class ProvisioningFlagsPlacementStrategy extends AbstractDockerPlacementStrategy implements DockerAwareProvisioningStrategy
| Modifier and Type | Field and Description |
|---|---|
static brooklyn.config.ConfigKey<Integer> |
MIN_CORES |
static brooklyn.config.ConfigKey<Object> |
MIN_RAM |
DOCKER_INFRASTRUCTURE| Constructor and Description |
|---|
ProvisioningFlagsPlacementStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
apply(Map<String,Object> contextFlags)
Transform a set of
provisioning flags to
implement a particular provisioning strategy. |
List<DockerHostLocation> |
filterLocations(List<DockerHostLocation> locations,
brooklyn.entity.Entity context)
Filters a list of
locations to determine if the given Entity can be
deployed into a new container there. |
getDockerInfrastructure, toStringconfig, getBrooklynManagementContext, getConfig, getId, injectManagementContext, setConfigpublic static final brooklyn.config.ConfigKey<Object> MIN_RAM
public static final brooklyn.config.ConfigKey<Integer> MIN_CORES
public List<DockerHostLocation> filterLocations(List<DockerHostLocation> locations, brooklyn.entity.Entity context)
DockerAwarePlacementStrategylocations to determine if the given Entity can be
deployed into a new container there.filterLocations in interface DockerAwarePlacementStrategyCopyright © 2015. All rights reserved.