public class LowestCpuUsagePlacementStrategy extends BasicDockerPlacementStrategy
DOCKER_INFRASTRUCTURE| Constructor and Description |
|---|
LowestCpuUsagePlacementStrategy() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(DockerHostLocation l1,
DockerHostLocation l2)
A
Comparator function that orders Docker hosts according to suitability, best first. |
apply, filterLocationsgetDockerInfrastructure, toStringconfig, getBrooklynManagementContext, getConfig, getId, injectManagementContext, setConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequalspublic int compare(DockerHostLocation l1, DockerHostLocation l2)
BasicDockerPlacementStrategyComparator function that orders Docker hosts according to suitability, best first.
Defaults to no ordering.
compare in interface Comparator<DockerHostLocation>compare in class BasicDockerPlacementStrategyCopyright © 2015. All rights reserved.