|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.entity.group.zoneaware.BalancingNodePlacementStrategy
public class BalancingNodePlacementStrategy
Default node placement strategy: attempts to keep the number of nodes balanced across the available locations.
Method Summary | |
---|---|
java.util.List
|
entitiesToRemove(Multimap currentMembers, int numToRemove)
|
java.util.List
|
locationsForAdditions(Multimap currentMembers, java.util.Collection locs, int numToAdd)
|
protected java.util.Collection
|
pickNewest(java.util.Collection contenders, java.lang.Integer numToPick)
|
protected java.util.Map
|
toMutableLocationSizes(Multimap currentMembers, java.lang.Iterable otherLocs)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public ListentitiesToRemove(Multimap currentMembers, int numToRemove) { public java.util.List entitiesToRemove(Multimap currentMembers, int numToRemove)
@Override public java.util.List locationsForAdditions(Multimap currentMembers, java.util.Collection locs, int numToAdd)
protected java.util.Collection pickNewest(java.util.Collection contenders, java.lang.Integer numToPick)
protected java.util.Map toMutableLocationSizes(Multimap currentMembers, java.lang.Iterable otherLocs)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.