@Singleton public class AWSRunningInstanceToNodeMetadata extends RunningInstanceToNodeMetadata
credentialStore, hardware, imageMap, instanceToNodeState, locations, logger
Modifier | Constructor and Description |
---|---|
protected |
AWSRunningInstanceToNodeMetadata(Map<InstanceState,NodeState> instanceToNodeState,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Hardware>> hardware) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCredentialsForInstance(NodeMetadataBuilder builder,
RunningInstance instance) |
protected NodeMetadataBuilder |
buildInstance(RunningInstance instance,
NodeMetadataBuilder builder) |
protected Hardware |
parseHardware(RunningInstance instance) |
apply
@Inject protected AWSRunningInstanceToNodeMetadata(Map<InstanceState,NodeState> instanceToNodeState, Map<String,Credentials> credentialStore, com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap, com.google.common.base.Supplier<Set<? extends Location>> locations, com.google.common.base.Supplier<Set<? extends Hardware>> hardware)
protected void addCredentialsForInstance(NodeMetadataBuilder builder, RunningInstance instance)
addCredentialsForInstance
in class RunningInstanceToNodeMetadata
protected Hardware parseHardware(RunningInstance instance)
parseHardware
in class RunningInstanceToNodeMetadata
protected NodeMetadataBuilder buildInstance(RunningInstance instance, NodeMetadataBuilder builder)
buildInstance
in class RunningInstanceToNodeMetadata
Copyright © 2009-2012 jclouds. All Rights Reserved.