public class ElasticStackComputeServiceContextModule extends ComputeServiceAdapterContextModule<ServerInfo,Hardware,DriveInfo,Location>
Modifier and Type | Class and Description |
---|---|
static class |
ElasticStackComputeServiceContextModule.GetDrive |
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl
Constructor and Description |
---|
ElasticStackComputeServiceContextModule() |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<String,DriveInfo> |
cache(ElasticStackComputeServiceContextModule.GetDrive getDrive) |
protected void |
configure() |
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) |
defineAddNodeWithTagStrategy, defineDestroyNodeStrategy, defineGetImageStrategy, defineGetNodeMetadataStrategy, defineListNodesStrategy, defineRebootNodeStrategy, defineStartNodeStrategy, defineStopNodeStrategy, provideHardware, provideImages
bindCredentialsOverriderFunction, guiceProvideImageExtension, guiceProvideSecurityGroupExtension, guiceProvideTemplateOptions, indexer, osFamilyToCredentials, provideImageExtension, provideImageMap, provideOsFamilyToCredentials, provideOsVersionMap, provideSecurityGroupExtension, provideSizeMap, provideTemplateOptionallyFromProperties, provideTemplateOptions, shouldEagerlyParseImages, supplyImageCache, supplyNonParsingImages, supplySizeCache
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public ElasticStackComputeServiceContextModule()
protected void configure()
configure
in class BaseComputeServiceContextModule
@Provides @Singleton protected final com.google.common.cache.LoadingCache<String,DriveInfo> cache(ElasticStackComputeServiceContextModule.GetDrive getDrive)
@Singleton @Provides protected final com.google.common.base.Supplier<Map<String,WellKnownImage>> provideImages(@Named(value="jclouds.session-interval") long seconds, com.google.common.base.Supplier<List<WellKnownImage>> wellKnownImageSupplier) throws IOException
IOException
@Singleton @Provides protected final com.google.common.base.Supplier<List<WellKnownImage>> provideWellKnownImageSupplier(AtomicReference<AuthorizationException> authException, @Named(value="jclouds.session-interval") long seconds, WellKnownImageSupplier uncached) throws IOException
IOException
@Provides @Singleton protected final com.google.common.base.Predicate<DriveInfo> supplyDriveUnclaimed(DriveClaimed driveClaimed, ComputeServiceConstants.Timeouts timeouts)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.