public interface AutoScaler<T>
Modifier and Type | Method and Description |
---|---|
T |
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) |
int getMinNumWorkers()
int getMaxNumWorkers()
T getEnvConfig()
AutoScalingData provision()
AutoScalingData terminate(List<String> ips)
AutoScalingData terminateWithIds(List<String> ids)
List<String> ipToIdLookup(List<String> ips)
ips
- - nodes IPsCopyright © 2011–2015. All rights reserved.