@Singleton public class EC2GetNodeMetadataStrategy extends Object implements GetNodeMetadataStrategy
Modifier | Constructor and Description |
---|---|
protected |
EC2GetNodeMetadataStrategy(EC2Client client,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata) |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
getNode(String id) |
RunningInstance |
getRunningInstanceInRegion(String region,
String id) |
@Inject protected EC2GetNodeMetadataStrategy(EC2Client client, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata)
public NodeMetadata getNode(String id)
getNode
in interface GetNodeMetadataStrategy
public RunningInstance getRunningInstanceInRegion(String region, String id)
Copyright © 2009-2013 jclouds. All Rights Reserved.