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()
@Nullable AutoScalingData provision()
@Nullable AutoScalingData terminate(List<String> ips)
@Nullable AutoScalingData terminateWithIds(List<String> ids)
List<String> ipToIdLookup(List<String> ips)
ips - - nodes IPsCopyright © 2011–2018. All rights reserved.