Modifier and Type | Method and Description |
---|---|
Set<RunningInstance> |
PresentSpotRequestsAndInstances.apply(Set<RegionAndName> regionAndIds) |
protected Set<RunningInstance> |
PresentSpotRequestsAndInstances.getSpots(Set<RegionAndName> regionAndIds) |
Modifier and Type | Method and Description |
---|---|
protected void |
AWSRunningInstanceToNodeMetadata.addCredentialsForInstance(NodeMetadataBuilder builder,
RunningInstance instance) |
protected Hardware |
AWSRunningInstanceToNodeMetadata.parseHardware(RunningInstance instance) |
Modifier and Type | Method and Description |
---|---|
RunningInstance |
AWSEC2GetNodeMetadataStrategy.getRunningInstanceInRegion(String region,
String id) |
Modifier and Type | Method and Description |
---|---|
protected Set<RunningInstance> |
AWSEC2CreateNodesInGroupThenAddToSet.createNodesInRegionAndZone(String region,
String zone,
String group,
int count,
Template template,
RunInstancesOptions instanceOptions) |
protected Iterable<? extends RunningInstance> |
AWSEC2ListNodesStrategy.pollRunningInstances() |
protected Iterable<? extends RunningInstance> |
AWSEC2ListNodesStrategy.pollRunningInstancesByRegionsAndIds(com.google.common.collect.Multimap<String,String> idsByRegions) |
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) |
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) |
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) |
Modifier and Type | Class and Description |
---|---|
class |
AWSRunningInstance |
Modifier and Type | Method and Description |
---|---|
AWSRunningInstance.Builder |
AWSRunningInstance.Builder.fromRunningInstance(RunningInstance in) |
Modifier and Type | Method and Description |
---|---|
Reservation<? extends RunningInstance> |
AWSRunInstancesResponseHandler.getResult() |
Set<Reservation<? extends RunningInstance>> |
AWSDescribeInstancesResponseHandler.getResult() |
protected Reservation<? extends RunningInstance> |
BaseAWSReservationHandler.newReservation() |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.collect.ImmutableSet<String> |
EC2ComputeService.extractIdsFromInstances(Iterable<? extends RunningInstance> deadOnes) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<RunningInstance,NodeMetadata> |
EC2ComputeServiceDependenciesModule.bindNodeConverter(RunningInstanceToNodeMetadata baseConverter,
AddElasticIpsToNodemetadata addElasticIpsToNodemetadata,
boolean autoAllocateElasticIps)
only add the overhead of looking up ips when we have enabled the auto-allocate functionality
|
protected com.google.common.cache.LoadingCache<RunningInstance,com.google.common.base.Optional<LoginCredentials>> |
EC2ComputeServiceDependenciesModule.credentialsMap(com.google.common.cache.CacheLoader<RunningInstance,com.google.common.base.Optional<LoginCredentials>> in) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.cache.LoadingCache<RunningInstance,com.google.common.base.Optional<LoginCredentials>> |
EC2ComputeServiceDependenciesModule.credentialsMap(com.google.common.cache.CacheLoader<RunningInstance,com.google.common.base.Optional<LoginCredentials>> in) |
Modifier and Type | Method and Description |
---|---|
Set<RunningInstance> |
PresentInstances.apply(Set<RegionAndName> regionAndIds) |
Modifier and Type | Method and Description |
---|---|
protected void |
RunningInstanceToNodeMetadata.addCredentialsForInstance(NodeMetadataBuilder builder,
RunningInstance instance) |
NodeMetadata |
RunningInstanceToNodeMetadata.apply(RunningInstance instance) |
LoginCredentials |
PasswordCredentialsFromWindowsInstance.apply(RunningInstance instance) |
com.google.common.base.Optional<LoginCredentials> |
CredentialsForInstance.load(RunningInstance instance) |
protected Hardware |
RunningInstanceToNodeMetadata.parseHardware(RunningInstance instance) |
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<RunningInstance,RegionAndName> |
EC2CreateNodesInGroupThenAddToSet.instanceToRegionAndName |
protected com.google.common.base.Function<RunningInstance,NodeMetadata> |
EC2ListNodesStrategy.runningInstanceToNodeMetadata |
Modifier and Type | Method and Description |
---|---|
RunningInstance |
EC2GetNodeMetadataStrategy.getRunningInstanceInRegion(String region,
String id) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.Function<String,Set<? extends Reservation<? extends RunningInstance>>> |
EC2ListNodesStrategy.allInstancesInRegion() |
protected Set<RunningInstance> |
EC2CreateNodesInGroupThenAddToSet.createNodesInRegionAndZone(String region,
String zone,
String group,
int count,
Template template,
RunInstancesOptions instanceOptions) |
protected com.google.common.base.Function<String,Set<? extends Reservation<? extends RunningInstance>>> |
EC2ListNodesStrategy.instancesByIdInRegion(com.google.common.collect.Multimap<String,String> idsByRegions) |
protected Iterable<? extends RunningInstance> |
EC2ListNodesStrategy.pollRunningInstances() |
protected Iterable<? extends RunningInstance> |
EC2ListNodesStrategy.pollRunningInstancesByRegionsAndIds(com.google.common.collect.Multimap<String,String> idsByRegions) |
Constructor and Description |
---|
EC2CreateNodesInGroupThenAddToSet(EC2Api client,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize,
PresentInstances presentInstances,
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) |
EC2CreateNodesInGroupThenAddToSet(EC2Api client,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
CreateKeyPairAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize,
PresentInstances presentInstances,
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) |
EC2GetNodeMetadataStrategy(EC2Api client,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata) |
EC2ListNodesStrategy(EC2Api client,
com.google.common.base.Supplier<Set<String>> regions,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
com.google.common.util.concurrent.ListeningExecutorService userExecutor) |
Modifier and Type | Class and Description |
---|---|
class |
Reservation<T extends RunningInstance> |
static class |
Reservation.Builder<T extends RunningInstance> |
Modifier and Type | Method and Description |
---|---|
static <T extends RunningInstance> |
Reservation.builder() |
Modifier and Type | Method and Description |
---|---|
abstract RunningInstance |
RunningInstance.Builder.build() |
Modifier and Type | Method and Description |
---|---|
int |
RunningInstance.compareTo(RunningInstance other) |
T |
RunningInstance.Builder.fromRunningInstance(RunningInstance in) |
Modifier and Type | Method and Description |
---|---|
Set<? extends Reservation<? extends RunningInstance>> |
InstanceApi.describeInstancesInRegion(String region,
String... instanceIds)
Returns information about instances that you own.
|
Set<? extends Reservation<? extends RunningInstance>> |
InstanceApi.describeInstancesInRegionWithFilter(String region,
com.google.common.collect.Multimap<String,String> filter)
Returns information about instances that you own.
|
Reservation<? extends RunningInstance> |
InstanceApi.runInstancesInRegion(String region,
String nullableAvailabilityZone,
String imageId,
int minCount,
int maxCount,
RunInstancesOptions... options)
Launches a specified number of instances of an AMI for which you have
permissions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InstanceStateTerminated.apply(RunningInstance instance) |
boolean |
InstanceStateStopped.apply(RunningInstance instance) |
boolean |
InstanceStateRunning.apply(RunningInstance instance) |
boolean |
InstanceHasIpAddress.apply(RunningInstance instance) |
Modifier and Type | Method and Description |
---|---|
Reservation<? extends RunningInstance> |
RunInstancesResponseHandler.getResult() |
Set<Reservation<? extends RunningInstance>> |
DescribeInstancesResponseHandler.getResult() |
protected Reservation<? extends RunningInstance> |
BaseReservationHandler.newReservation() |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.