org.jclouds.aws.ec2.services
Interface SpotInstanceAsyncClient


public interface SpotInstanceAsyncClient

Provides access to EC2 Spot Instances via their REST API.

Author:
Adrian Cole

Method Summary
 com.google.common.util.concurrent.ListenableFuture<Void> cancelSpotInstanceRequestsInRegion(String region, String... requestIds)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Set<SpotInstanceRequest>> describeSpotInstanceRequestsInRegion(String region, String... requestIds)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Set<Spot>> describeSpotPriceHistoryInRegion(String region, DescribeSpotPriceHistoryOptions... options)
           
 com.google.common.util.concurrent.ListenableFuture<SpotInstanceRequest> requestSpotInstanceInRegion(String region, float spotPrice, String imageId, String instanceType)
           
 com.google.common.util.concurrent.ListenableFuture<? extends Set<SpotInstanceRequest>> requestSpotInstancesInRegion(String region, float spotPrice, int instanceCount, LaunchSpecification launchSpec, RequestSpotInstancesOptions... options)
           
 

Method Detail

describeSpotInstanceRequestsInRegion

com.google.common.util.concurrent.ListenableFuture<? extends Set<SpotInstanceRequest>> describeSpotInstanceRequestsInRegion(@Nullable
                                                                                                                            String region,
                                                                                                                            String... requestIds)
See Also:
SpotInstanceClient.describeSpotInstanceRequestsInRegion(java.lang.String, java.lang.String...)

requestSpotInstanceInRegion

com.google.common.util.concurrent.ListenableFuture<SpotInstanceRequest> requestSpotInstanceInRegion(@Nullable
                                                                                                    String region,
                                                                                                    float spotPrice,
                                                                                                    String imageId,
                                                                                                    String instanceType)
See Also:
SpotInstanceClient.requestSpotInstanceInRegion(java.lang.String, float, java.lang.String, java.lang.String)

requestSpotInstancesInRegion

com.google.common.util.concurrent.ListenableFuture<? extends Set<SpotInstanceRequest>> requestSpotInstancesInRegion(@Nullable
                                                                                                                    String region,
                                                                                                                    float spotPrice,
                                                                                                                    int instanceCount,
                                                                                                                    LaunchSpecification launchSpec,
                                                                                                                    RequestSpotInstancesOptions... options)
See Also:
SpotInstanceClient.requestSpotInstancesInRegion(java.lang.String, float, int, org.jclouds.aws.ec2.domain.LaunchSpecification, org.jclouds.aws.ec2.options.RequestSpotInstancesOptions...)

describeSpotPriceHistoryInRegion

com.google.common.util.concurrent.ListenableFuture<? extends Set<Spot>> describeSpotPriceHistoryInRegion(@Nullable
                                                                                                         String region,
                                                                                                         DescribeSpotPriceHistoryOptions... options)
See Also:
SpotInstanceClient.describeSpotPriceHistoryInRegion(java.lang.String, org.jclouds.aws.ec2.options.DescribeSpotPriceHistoryOptions...)

cancelSpotInstanceRequestsInRegion

com.google.common.util.concurrent.ListenableFuture<Void> cancelSpotInstanceRequestsInRegion(@Nullable
                                                                                            String region,
                                                                                            String... requestIds)
See Also:
SpotInstanceClient.cancelSpotInstanceRequestsInRegion(java.lang.String, java.lang.String...)


Copyright © 2009-2011 jclouds. All Rights Reserved.