@Singleton public class AWSEC2GetNodeMetadataStrategy extends EC2GetNodeMetadataStrategy
Modifier | Constructor and Description |
---|---|
protected |
AWSEC2GetNodeMetadataStrategy(AWSEC2Api client,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
SpotInstanceRequestToAWSRunningInstance spotConverter) |
Modifier and Type | Method and Description |
---|---|
RunningInstance |
getRunningInstanceInRegion(String region,
String id) |
getNode
@Inject protected AWSEC2GetNodeMetadataStrategy(AWSEC2Api client, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata, SpotInstanceRequestToAWSRunningInstance spotConverter)
public RunningInstance getRunningInstanceInRegion(String region, String id)
getRunningInstanceInRegion
in class EC2GetNodeMetadataStrategy
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.