public class LowestCpuUsagePlacementStrategy extends BasicDockerPlacementStrategy
entityDOCKER_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, getShortName, toStringconfig, getBrooklynManagementContext, getConfig, getId, setConfig, setManagementContextclone, 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 © 2012–2016 The Apache Software Foundation. All rights reserved.