public class CloudSigma2ComputeServiceContextModule extends ComputeServiceAdapterContextModule<ServerInfo,Hardware,LibraryDrive,Location>
ComputeServiceAdapterContextModule.AddDefaultCredentialsToImage, ComputeServiceAdapterContextModule.LocationsFromComputeServiceAdapterModule<N,H,I,L>
BaseComputeServiceContextModule.RunScriptOnNodeFactoryImpl
Modifier and Type | Field and Description |
---|---|
static Map<DriveStatus,Image.Status> |
driveStatusToImageStatus |
static Map<ServerStatus,NodeMetadata.Status> |
serverStatusToNodeStatus |
Constructor and Description |
---|
CloudSigma2ComputeServiceContextModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected com.google.common.base.Predicate<DriveInfo> |
provideDriveClonedPredicate(CloudSigma2Api api,
long driveClonedTimeout) |
protected Map<DriveStatus,Image.Status> |
provideImageStatusMap() |
protected com.google.common.base.Predicate<String> |
provideServerStoppedPredicate(CloudSigma2Api api,
ComputeServiceConstants.Timeouts timeouts,
ComputeServiceConstants.PollPeriod pollPeriod) |
protected Map<ServerStatus,NodeMetadata.Status> |
provideStatusMap() |
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 static final Map<ServerStatus,NodeMetadata.Status> serverStatusToNodeStatus
public static final Map<DriveStatus,Image.Status> driveStatusToImageStatus
public CloudSigma2ComputeServiceContextModule()
protected void configure()
configure
in class BaseComputeServiceContextModule
@Provides @Singleton protected Map<ServerStatus,NodeMetadata.Status> provideStatusMap()
@Provides @Singleton protected Map<DriveStatus,Image.Status> provideImageStatusMap()
@Provides @Singleton @Named(value="jclouds.cloudsigma.timeout.drive-cloned") protected com.google.common.base.Predicate<DriveInfo> provideDriveClonedPredicate(CloudSigma2Api api, @Named(value="jclouds.cloudsigma.timeout.drive-cloned") long driveClonedTimeout)
@Provides @Singleton @Named(value="jclouds.compute.timeout.node-suspended") protected com.google.common.base.Predicate<String> provideServerStoppedPredicate(CloudSigma2Api api, ComputeServiceConstants.Timeouts timeouts, ComputeServiceConstants.PollPeriod pollPeriod)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.