public class EC2ComputeServiceDependenciesModule
extends com.google.inject.AbstractModule
| Modifier and Type | Field and Description | 
|---|---|
static Map<Image.ImageState,Image.Status> | 
toPortableImageStatus  | 
static Map<InstanceState,NodeMetadata.Status> | 
toPortableNodeStatus  | 
| Constructor and Description | 
|---|
EC2ComputeServiceDependenciesModule()  | 
| Modifier and Type | Method and Description | 
|---|---|
com.google.common.base.Function<RunningInstance,NodeMetadata> | 
bindNodeConverter(RunningInstanceToNodeMetadata baseConverter,
                 AddElasticIpsToNodemetadata addElasticIpsToNodemetadata,
                 boolean autoAllocateElasticIps)
only add the overhead of looking up ips when we have enabled the auto-allocate functionality 
 | 
protected void | 
configure()  | 
protected com.google.common.cache.LoadingCache<RunningInstance,com.google.common.base.Optional<LoginCredentials>> | 
credentialsMap(com.google.common.cache.CacheLoader<RunningInstance,com.google.common.base.Optional<LoginCredentials>> in)  | 
protected com.google.common.cache.LoadingCache<RegionAndName,String> | 
instanceToElasticIp(com.google.common.cache.CacheLoader<RegionAndName,String> in)  | 
protected ConcurrentMap<RegionAndName,KeyPair> | 
keypairMap(com.google.inject.Injector i)  | 
protected com.google.common.base.Predicate<RegionAndName> | 
securityGroupEventualConsistencyDelay(SecurityGroupPresent in,
                                     long msDelay)  | 
protected com.google.common.cache.LoadingCache<RegionAndName,String> | 
securityGroupMap(com.google.common.cache.CacheLoader<RegionAndName,String> in)  | 
protected Map<Image.ImageState,Image.Status> | 
toPortableImageStatus()  | 
protected Map<InstanceState,NodeMetadata.Status> | 
toPortableNodeStatus()  | 
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic static final Map<InstanceState,NodeMetadata.Status> toPortableNodeStatus
public static final Map<Image.ImageState,Image.Status> toPortableImageStatus
@Singleton @Provides protected Map<InstanceState,NodeMetadata.Status> toPortableNodeStatus()
@Singleton @Provides protected Map<Image.ImageState,Image.Status> toPortableImageStatus()
protected void configure()
configure in class com.google.inject.AbstractModule@Provides @Singleton public com.google.common.base.Function<RunningInstance,NodeMetadata> bindNodeConverter(RunningInstanceToNodeMetadata baseConverter, AddElasticIpsToNodemetadata addElasticIpsToNodemetadata, @Named(value="jclouds.ec2.auto-allocate-elastic-ips") boolean autoAllocateElasticIps)
@Provides @Singleton protected com.google.common.cache.LoadingCache<RunningInstance,com.google.common.base.Optional<LoginCredentials>> credentialsMap(com.google.common.cache.CacheLoader<RunningInstance,com.google.common.base.Optional<LoginCredentials>> in)
@Provides @Singleton protected ConcurrentMap<RegionAndName,KeyPair> keypairMap(com.google.inject.Injector i)
@Provides @Singleton @Named(value="SECURITY") protected com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap(@Named(value="SECURITY") com.google.common.cache.CacheLoader<RegionAndName,String> in)
@Provides @Singleton @Named(value="ELASTICIP") protected com.google.common.cache.LoadingCache<RegionAndName,String> instanceToElasticIp(@Named(value="ELASTICIP") com.google.common.cache.CacheLoader<RegionAndName,String> in)
@Provides @Singleton @Named(value="SECURITY") protected com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay(SecurityGroupPresent in, @Named(value="jclouds.ec2.timeout.securitygroup-present") long msDelay)
Copyright © 2009-2013 jclouds. All Rights Reserved.