Class ElasticStackComputeServiceContextModule
- java.lang.Object
 - 
- com.google.inject.AbstractModule
 - 
- org.jclouds.compute.config.BaseComputeServiceContextModule
 - 
- org.jclouds.compute.config.ComputeServiceAdapterContextModule<ServerInfo,Hardware,DriveInfo,Location>
 - 
- org.jclouds.elasticstack.compute.config.ElasticStackComputeServiceContextModule
 
 
 
 
 
- 
- All Implemented Interfaces:
 com.google.inject.Module
- Direct Known Subclasses:
 OpenHostingEast1ComputeServiceContextModule
public class ElasticStackComputeServiceContextModule extends ComputeServiceAdapterContextModule<ServerInfo,Hardware,DriveInfo,Location>
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElasticStackComputeServiceContextModule.GetDrive- 
Nested classes/interfaces inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L> 
- 
Nested classes/interfaces inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ElasticStackComputeServiceContextModule() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.google.common.cache.LoadingCache<String,DriveInfo>cache(ElasticStackComputeServiceContextModule.GetDrive getDrive)protected voidconfigure()protected com.google.common.base.Supplier<Map<String,WellKnownImage>>provideImages(long seconds, com.google.common.base.Supplier<List<WellKnownImage>> wellKnownImageSupplier)protected com.google.common.base.Supplier<List<WellKnownImage>>provideWellKnownImageSupplier(AtomicReference<AuthorizationException> authException, long seconds, WellKnownImageSupplier uncached)protected com.google.common.base.Predicate<DriveInfo>supplyDriveUnclaimed(DriveClaimed driveClaimed, ComputeServiceConstants.Timeouts timeouts)- 
Methods inherited from class org.jclouds.compute.config.ComputeServiceAdapterContextModule
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages 
- 
Methods inherited from class org.jclouds.compute.config.BaseComputeServiceContextModule
bindCredentialsOverriderFunction, guiceProvideImageExtension, guiceProvideSecurityGroupExtension, guiceProvideTemplateOptions, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsFamilyToCredentials, provideOsVersionMap, provideSecurityGroupExtension, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldEagerlyParseImages, supplyImageCache, supplyNonParsingImages, supplySizeCache 
- 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding 
 - 
 
 - 
 
- 
- 
Method Detail
- 
configure
protected void configure()
- Overrides:
 configurein classBaseComputeServiceContextModule
 
- 
cache
@Provides @Singleton protected final com.google.common.cache.LoadingCache<String,DriveInfo> cache(ElasticStackComputeServiceContextModule.GetDrive getDrive)
 
- 
provideImages
@Singleton @Provides protected final com.google.common.base.Supplier<Map<String,WellKnownImage>> provideImages(@Named("jclouds.session-interval") long seconds, com.google.common.base.Supplier<List<WellKnownImage>> wellKnownImageSupplier) throws IOException
- Throws:
 IOException
 
- 
provideWellKnownImageSupplier
@Singleton @Provides protected final com.google.common.base.Supplier<List<WellKnownImage>> provideWellKnownImageSupplier(AtomicReference<AuthorizationException> authException, @Named("jclouds.session-interval") long seconds, WellKnownImageSupplier uncached) throws IOException
- Throws:
 IOException
 
- 
supplyDriveUnclaimed
@Provides @Singleton protected final com.google.common.base.Predicate<DriveInfo> supplyDriveUnclaimed(DriveClaimed driveClaimed, ComputeServiceConstants.Timeouts timeouts)
 
 - 
 
 -