Package org.jclouds.ec2.compute.strategy
Class EC2GetNodeMetadataStrategy
- java.lang.Object
-
- org.jclouds.ec2.compute.strategy.EC2GetNodeMetadataStrategy
-
- All Implemented Interfaces:
GetNodeMetadataStrategy
- Direct Known Subclasses:
AWSEC2GetNodeMetadataStrategy
@Singleton public class EC2GetNodeMetadataStrategy extends Object implements GetNodeMetadataStrategy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EC2GetNodeMetadataStrategy(EC2Api client, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeMetadata
getNode(String id)
RunningInstance
getRunningInstanceInRegion(String region, String id)
-
-
-
Constructor Detail
-
EC2GetNodeMetadataStrategy
@Inject protected EC2GetNodeMetadataStrategy(EC2Api client, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata)
-
-
Method Detail
-
getNode
public NodeMetadata getNode(String id)
- Specified by:
getNode
in interfaceGetNodeMetadataStrategy
-
getRunningInstanceInRegion
public RunningInstance getRunningInstanceInRegion(String region, String id)
-
-