Constructor and Description |
---|
AWSEC2ComputeService(ComputeServiceContext context,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Set<? extends Location>> locations,
ListNodesStrategy listNodesStrategy,
GetImageStrategy getImageStrategy,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
javax.inject.Provider<TemplateOptions> templateOptionsProvider,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeTerminated,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeSuspended,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
RunScriptOnNode.Factory runScriptOnNodeFactory,
InitAdminAccess initAdminAccess,
PersistNodeCredentials persistNodeCredentials,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
AWSEC2Api client,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
com.google.common.cache.LoadingCache<RegionAndName,String> placementGroupMap,
com.google.common.base.Predicate<PlacementGroup> placementGroupDeleted,
com.google.common.base.Optional<ImageExtension> imageExtension,
GroupNamingConvention.Factory namingConvention,
boolean generateInstanceNames,
com.google.common.base.Optional<SecurityGroupExtension> securityGroupExtension) |
Modifier and Type | Field and Description |
---|---|
protected AWSEC2Api |
AWSEC2SecurityGroupExtension.client |
Constructor and Description |
---|
AWSEC2SecurityGroupExtension(AWSEC2Api client,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.base.Supplier<Set<String>> regions,
com.google.common.base.Function<SecurityGroup,SecurityGroup> groupConverter,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.cache.LoadingCache<RegionAndName,String> groupCreator,
GroupNamingConvention.Factory namingConvention,
com.google.common.base.Function<String,String> groupNameToId) |
Constructor and Description |
---|
PresentSpotRequestsAndInstances(AWSEC2Api client,
com.google.common.base.Function<SpotInstanceRequest,AWSRunningInstance> spotConverter) |
Constructor and Description |
---|
AWSEC2CreateSecurityGroupIfNeeded(AWSEC2Api ec2Api,
com.google.common.base.Function<String,String> groupNameToId,
com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay) |
Modifier and Type | Field and Description |
---|---|
protected AWSEC2Api |
AWSEC2ListNodesStrategy.client |
protected AWSEC2Api |
AWSEC2DestroyNodeStrategy.client |
Constructor and Description |
---|
AWSEC2CreateNodesInGroupThenAddToSet(AWSEC2Api client,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
boolean generateInstanceNames,
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize,
PresentSpotRequestsAndInstances instancePresent,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
com.google.common.cache.LoadingCache<RunningInstance,com.google.common.base.Optional<LoginCredentials>> instanceToCredentials,
Map<String,Credentials> credentialStore,
ComputeUtils utils,
SpotInstanceRequestToAWSRunningInstance spotConverter) |
AWSEC2DestroyNodeStrategy(AWSEC2Api client,
GetNodeMetadataStrategy getNode,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache,
Map<String,Credentials> credentialStore) |
AWSEC2GetNodeMetadataStrategy(AWSEC2Api client,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
SpotInstanceRequestToAWSRunningInstance spotConverter) |
AWSEC2ListNodesStrategy(AWSEC2Api client,
com.google.common.base.Supplier<Set<String>> regions,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
SpotInstanceRequestToAWSRunningInstance spotConverter) |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
javax.inject.Provider<RunInstancesOptions> optionsProvider,
com.google.common.cache.LoadingCache<RegionAndName,String> placementGroupMap,
CreatePlacementGroupIfNeeded createPlacementGroupIfNeeded,
com.google.common.base.Function<RegionNameAndPublicKeyMaterial,KeyPair> importExistingKeyPair,
GroupNamingConvention.Factory namingConvention,
AWSEC2Api awsEC2Api) |
Modifier and Type | Field and Description |
---|---|
protected AWSEC2Api |
ImportOrReturnExistingKeypair.ec2Api |
protected AWSEC2Api |
CreatePlacementGroupIfNeeded.ec2Api |
Constructor and Description |
---|
CreatePlacementGroupIfNeeded(AWSEC2Api ec2Api,
com.google.common.base.Predicate<PlacementGroup> placementGroupAvailable) |
ImportOrReturnExistingKeypair(AWSEC2Api ec2Api) |
Constructor and Description |
---|
PlacementGroupAvailable(AWSEC2Api client) |
PlacementGroupDeleted(AWSEC2Api client) |
SpotInstanceRequestActive(AWSEC2Api client) |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.