public class NoopAutoScaler<Void> extends Object implements AutoScaler<Void>
Constructor and Description |
---|
NoopAutoScaler() |
Modifier and Type | Method and Description |
---|---|
Void |
getEnvConfig() |
int |
getMaxNumWorkers() |
int |
getMinNumWorkers() |
List<String> |
idToIpLookup(List<String> nodeIds)
Provides a lookup of node ids to ip addresses
|
List<String> |
ipToIdLookup(List<String> ips)
Provides a lookup of ip addresses to node ids
|
AutoScalingData |
provision() |
AutoScalingData |
terminate(List<String> ips) |
AutoScalingData |
terminateWithIds(List<String> ids) |
public int getMinNumWorkers()
getMinNumWorkers
in interface AutoScaler<Void>
public int getMaxNumWorkers()
getMaxNumWorkers
in interface AutoScaler<Void>
public Void getEnvConfig()
getEnvConfig
in interface AutoScaler<Void>
public AutoScalingData provision()
provision
in interface AutoScaler<Void>
public AutoScalingData terminate(List<String> ips)
terminate
in interface AutoScaler<Void>
public AutoScalingData terminateWithIds(List<String> ids)
terminateWithIds
in interface AutoScaler<Void>
public List<String> ipToIdLookup(List<String> ips)
AutoScaler
ipToIdLookup
in interface AutoScaler<Void>
ips
- - nodes IPspublic List<String> idToIpLookup(List<String> nodeIds)
AutoScaler
idToIpLookup
in interface AutoScaler<Void>
nodeIds
- - nodes idsCopyright © 2011–2015. All rights reserved.