@Singleton public class AWSRunningInstanceToNodeMetadata extends RunningInstanceToNodeMetadata
credentialStore, hardware, imageMap, instanceToNodeStatus, locations, logger, namingConvention
Modifier | Constructor and Description |
---|---|
protected |
AWSRunningInstanceToNodeMetadata(Map<InstanceState,NodeMetadata.Status> instanceToNodeStatus,
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,
GroupNamingConvention.Factory namingConvention) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCredentialsForInstance(NodeMetadataBuilder builder,
RunningInstance instance) |
protected Hardware |
parseHardware(RunningInstance instance) |
apply
@Inject protected AWSRunningInstanceToNodeMetadata(Map<InstanceState,NodeMetadata.Status> instanceToNodeStatus, 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, GroupNamingConvention.Factory namingConvention)
protected void addCredentialsForInstance(NodeMetadataBuilder builder, RunningInstance instance)
addCredentialsForInstance
in class RunningInstanceToNodeMetadata
protected Hardware parseHardware(RunningInstance instance)
parseHardware
in class RunningInstanceToNodeMetadata
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.