public class ScaleDownAction extends java.lang.Object implements AutoScaleAction
AutoScaleAction.Type
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getHosts()
Get the hostnames to unqueueTask from the cluster during the scale down action.
|
java.lang.String |
getRuleName()
Get the name of the autoscale rule that triggered the scale down action.
|
AutoScaleAction.Type |
getType()
Returns an indication of whether the autoscale action is to scale up or to scale down - in this case,
down.
|
public java.lang.String getRuleName()
getRuleName
in interface AutoScaleAction
public AutoScaleAction.Type getType()
getType
in interface AutoScaleAction
Down
public java.util.Collection<java.lang.String> getHosts()