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,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
Provider<TemplateBuilder> templateBuilderProvider,
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,
ExecutorService executor,
AWSEC2Client ec2Client,
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,
boolean generateInstanceNames,
AWSEC2AsyncClient aclient) |
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,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
Provider<TemplateBuilder> templateBuilderProvider,
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,
ExecutorService executor,
AWSEC2Client ec2Client,
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,
boolean generateInstanceNames,
AWSEC2AsyncClient aclient) |
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,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
Provider<TemplateBuilder> templateBuilderProvider,
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,
ExecutorService executor,
AWSEC2Client ec2Client,
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,
boolean generateInstanceNames,
AWSEC2AsyncClient aclient) |
AWSEC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
Provider<TemplateOptions> optionsProvider,
Provider<TemplateBuilder> defaultTemplateProvider,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<RegionAndName,String> |
AWSEC2ComputeServiceDependenciesModule.placementGroupMap(CreatePlacementGroupIfNeeded in) |
protected com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> |
AWSEC2ComputeServiceContextModule.provideRegionAndNameToImageSupplierCache(RegionAndNameToImageSupplier supplier) |
protected com.google.common.base.Supplier<com.google.common.cache.CacheLoader<RegionAndName,Image>> |
AWSEC2ComputeServiceContextModule.provideRegionAndNameToImageSupplierCacheLoader(RegionAndIdToImage delegate) |
Constructor and Description |
---|
AWSRunningInstanceToNodeMetadata(Map<InstanceState,NodeState> instanceToNodeState,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Hardware>> hardware) |
Modifier and Type | Method and Description |
---|---|
protected void |
AWSEC2InstancePresent.refresh(RegionAndName instance) |
Constructor and Description |
---|
AWSEC2CreateNodesInGroupThenAddToSet(AWSEC2Client client,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
AWSEC2AsyncClient aclient,
boolean generateInstanceNames,
Provider<TemplateBuilder> templateBuilderProvider,
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize,
AWSEC2InstancePresent instancePresent,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
com.google.common.cache.LoadingCache<RunningInstance,Credentials> instanceToCredentials,
Map<String,Credentials> credentialStore,
ComputeUtils utils,
SpotInstanceRequestToAWSRunningInstance spotConverter) |
AWSEC2DestroyNodeStrategy(AWSEC2Client client,
GetNodeMetadataStrategy getNode,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache,
Map<String,Credentials> credentialStore) |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
Provider<RunInstancesOptions> optionsProvider,
com.google.common.cache.LoadingCache<RegionAndName,String> placementGroupMap,
CreatePlacementGroupIfNeeded createPlacementGroupIfNeeded,
com.google.common.base.Function<RegionNameAndPublicKeyMaterial,KeyPair> importExistingKeyPair) |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
Provider<RunInstancesOptions> optionsProvider,
com.google.common.cache.LoadingCache<RegionAndName,String> placementGroupMap,
CreatePlacementGroupIfNeeded createPlacementGroupIfNeeded,
com.google.common.base.Function<RegionNameAndPublicKeyMaterial,KeyPair> importExistingKeyPair) |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
Provider<RunInstancesOptions> optionsProvider,
com.google.common.cache.LoadingCache<RegionAndName,String> placementGroupMap,
CreatePlacementGroupIfNeeded createPlacementGroupIfNeeded,
com.google.common.base.Function<RegionNameAndPublicKeyMaterial,KeyPair> importExistingKeyPair) |
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
Provider<RunInstancesOptions> optionsProvider,
com.google.common.cache.LoadingCache<RegionAndName,String> placementGroupMap,
CreatePlacementGroupIfNeeded createPlacementGroupIfNeeded,
com.google.common.base.Function<RegionNameAndPublicKeyMaterial,KeyPair> importExistingKeyPair) |
Constructor and Description |
---|
AWSEC2ImageSupplier(com.google.common.base.Supplier<Set<String>> regions,
String amiQuery,
String clusterRegions,
String ccAmiQuery,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> cache,
CallForImages.Factory factory,
Set<String> clusterComputeIds,
ExecutorService executor) |
Modifier and Type | Class and Description |
---|---|
class |
RegionNameAndPublicKeyMaterial |
Modifier and Type | Method and Description |
---|---|
String |
CreatePlacementGroupIfNeeded.load(RegionAndName from) |
Constructor and Description |
---|
EC2ComputeService(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,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
Provider<TemplateBuilder> templateBuilderProvider,
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,
ExecutorService executor,
EC2Client ec2Client,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap) |
EC2ComputeService(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,
GetNodeMetadataStrategy getNodeMetadataStrategy,
CreateNodesInGroupThenAddToSet runNodesAndAddToSetStrategy,
RebootNodeStrategy rebootNodeStrategy,
DestroyNodeStrategy destroyNodeStrategy,
ResumeNodeStrategy startNodeStrategy,
SuspendNodeStrategy stopNodeStrategy,
Provider<TemplateBuilder> templateBuilderProvider,
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,
ExecutorService executor,
EC2Client ec2Client,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<RegionAndName,String> |
EC2ComputeServiceDependenciesModule.instanceToElasticIp(com.google.common.cache.CacheLoader<RegionAndName,String> in) |
protected ConcurrentMap<RegionAndName,KeyPair> |
EC2ComputeServiceDependenciesModule.keypairMap(com.google.inject.Injector i) |
protected com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> |
EC2ComputeServiceContextModule.provideRegionAndNameToImageSupplierCache(RegionAndNameToImageSupplier supplier) |
protected com.google.common.base.Supplier<com.google.common.cache.CacheLoader<RegionAndName,Image>> |
EC2ComputeServiceContextModule.provideRegionAndNameToImageSupplierCacheLoader(RegionAndIdToImage delegate) |
protected com.google.common.base.Predicate<RegionAndName> |
EC2ComputeServiceDependenciesModule.securityGroupEventualConsistencyDelay(SecurityGroupPresent in,
long msDelay) |
protected com.google.common.cache.LoadingCache<RegionAndName,String> |
EC2ComputeServiceDependenciesModule.securityGroupMap(com.google.common.cache.CacheLoader<RegionAndName,String> in) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<RegionAndName,String> |
EC2ComputeServiceDependenciesModule.instanceToElasticIp(com.google.common.cache.CacheLoader<RegionAndName,String> in) |
protected com.google.common.cache.LoadingCache<RegionAndName,String> |
EC2ComputeServiceDependenciesModule.securityGroupMap(com.google.common.cache.CacheLoader<RegionAndName,String> in) |
Modifier and Type | Class and Description |
---|---|
class |
RegionNameAndIngressRules |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> |
RunningInstanceToNodeMetadata.imageMap |
protected com.google.common.base.Predicate<RegionAndName> |
CreateSecurityGroupIfNeeded.securityGroupEventualConsistencyDelay |
Modifier and Type | Method and Description |
---|---|
Map<RegionAndName,? extends Image> |
ImagesToRegionAndIdMap.apply(Iterable<? extends Image> input) |
static Map<RegionAndName,? extends Image> |
ImagesToRegionAndIdMap.imagesToMap(Iterable<? extends Image> input) |
Modifier and Type | Method and Description |
---|---|
KeyPair |
CreateUniqueKeyPair.apply(RegionAndName from) |
Image |
RegionAndIdToImage.load(RegionAndName key) |
String |
LoadPublicIpForInstanceOrNull.load(RegionAndName key) |
String |
CreateSecurityGroupIfNeeded.load(RegionAndName from) |
static String |
RegionAndIdToImage.message(RegionAndName key,
Exception e) |
Constructor and Description |
---|
AddElasticIpsToNodemetadata(com.google.common.cache.LoadingCache<RegionAndName,String> cache) |
CreateSecurityGroupIfNeeded(EC2Client ec2Client,
com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay) |
CreateSecurityGroupIfNeeded(SecurityGroupClient securityClient,
com.google.common.base.Predicate<RegionAndName> securityGroupEventualConsistencyDelay) |
RunningInstanceToNodeMetadata(Map<InstanceState,NodeState> instanceToNodeState,
Map<String,Credentials> credentialStore,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap,
com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Hardware>> hardware) |
Constructor and Description |
---|
EC2TemplateBuilderImpl(com.google.common.base.Supplier<Set<? extends Location>> locations,
com.google.common.base.Supplier<Set<? extends Image>> images,
com.google.common.base.Supplier<Set<? extends Hardware>> sizes,
com.google.common.base.Supplier<Location> defaultLocation,
Provider<TemplateOptions> optionsProvider,
Provider<TemplateBuilder> defaultTemplateProvider,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> imageMap) |
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityGroupPresent.apply(RegionAndName securityGroup) |
boolean |
InstancePresent.apply(RegionAndName instance) |
protected SecurityGroup |
SecurityGroupPresent.refresh(RegionAndName securityGroup) |
protected void |
InstancePresent.refresh(RegionAndName instance) |
Modifier and Type | Field and Description |
---|---|
ConcurrentMap<RegionAndName,KeyPair> |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.credentialsMap |
protected com.google.common.cache.LoadingCache<RegionAndName,String> |
EC2DestroyNodeStrategy.elasticIpCache |
static com.google.common.base.Function<RunningInstance,RegionAndName> |
EC2CreateNodesInGroupThenAddToSet.instanceToRegionAndName |
com.google.common.base.Function<RegionAndName,KeyPair> |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.makeKeyPair |
com.google.common.cache.LoadingCache<RegionAndName,String> |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions.securityGroupMap |
Constructor and Description |
---|
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
Provider<RunInstancesOptions> optionsProvider) |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
Provider<RunInstancesOptions> optionsProvider) |
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions(com.google.common.base.Function<RegionAndName,KeyPair> makeKeyPair,
ConcurrentMap<RegionAndName,KeyPair> credentialsMap,
com.google.common.cache.LoadingCache<RegionAndName,String> securityGroupMap,
Provider<RunInstancesOptions> optionsProvider) |
EC2CreateNodesInGroupThenAddToSet(EC2Client client,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
Provider<TemplateBuilder> templateBuilderProvider,
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize,
InstancePresent instancePresent,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
com.google.common.cache.LoadingCache<RunningInstance,Credentials> instanceToCredentials,
Map<String,Credentials> credentialStore,
ComputeUtils utils) |
EC2DestroyNodeStrategy(EC2Client client,
GetNodeMetadataStrategy getNode,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache) |
Modifier and Type | Method and Description |
---|---|
com.google.common.cache.LoadingCache<RegionAndName,? extends Image> |
RegionAndNameToImageSupplier.get() |
Constructor and Description |
---|
EC2ImageSupplier(com.google.common.base.Supplier<Set<String>> regions,
DescribeImagesParallel describer,
String[] amiOwners,
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> cache,
EC2ImageParser parser) |
RegionAndNameToImageSupplier(com.google.common.cache.CacheLoader<RegionAndName,Image> regionAndIdToImage,
long expirationSecs) |
Copyright © 2009-2012 jclouds. All Rights Reserved.