Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache
Class AmazonElastiCacheAsyncClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.elasticache.AmazonElastiCacheClient
          extended by com.amazonaws.services.elasticache.AmazonElastiCacheAsyncClient
All Implemented Interfaces:
AmazonElastiCache, AmazonElastiCacheAsync

public class AmazonElastiCacheAsyncClient
extends AmazonElastiCacheClient
implements AmazonElastiCacheAsync

Asynchronous client for accessing AmazonElastiCache. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread. Amazon ElastiCache

Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale a distributed cache in the cloud.

With Amazon ElastiCache, customers gain all of the benefits of a high-performance, in-memory cache with far less of the administrative burden of launching and managing a distributed cache. The service makes set-up, scaling, and cluster failure handling much simpler than in a self-managed cache deployment.

In addition, through integration with Amazon CloudWatch, customers get enhanced visibility into the key performance statistics associated with their cache and can receive alarms if a part of their cache runs hot.


Constructor Summary
AmazonElastiCacheAsyncClient()
          Constructs a new asynchronous client to invoke service methods on AmazonElastiCache.
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
          Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials.
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials, executor service, and client configuration options.
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials and executor service.
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
          Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials provider.
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials provider and client configuration options.
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials provider, executor service, and client configuration options.
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials provider and executor service.
AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonElastiCache.
 
Method Summary
 Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest)
           Authorizes ingress to a CacheSecurityGroup using EC2 Security Groups as authorization (therefore the application using the cache must be running on EC2 clusters).
 Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest, AsyncHandler<AuthorizeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
           Authorizes ingress to a CacheSecurityGroup using EC2 Security Groups as authorization (therefore the application using the cache must be running on EC2 clusters).
 Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest)
           Creates a new Cache Cluster.
 Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest, AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler)
           Creates a new Cache Cluster.
 Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest)
           Creates a new Cache Parameter Group.
 Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest, AsyncHandler<CreateCacheParameterGroupRequest,CacheParameterGroup> asyncHandler)
           Creates a new Cache Parameter Group.
 Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest)
           Creates a new Cache Security Group.
 Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest, AsyncHandler<CreateCacheSecurityGroupRequest,CacheSecurityGroup> asyncHandler)
           Creates a new Cache Security Group.
 Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest)
           Creates a new Cache Subnet Group.
 Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest, AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
           Creates a new Cache Subnet Group.
 Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest)
           Deletes a previously provisioned Cache Cluster.
 Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest, AsyncHandler<DeleteCacheClusterRequest,CacheCluster> asyncHandler)
           Deletes a previously provisioned Cache Cluster.
 Future<Void> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest)
           Deletes the specified CacheParameterGroup.
 Future<Void> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest, AsyncHandler<DeleteCacheParameterGroupRequest,Void> asyncHandler)
           Deletes the specified CacheParameterGroup.
 Future<Void> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest)
           Deletes a Cache Security Group.
 Future<Void> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest, AsyncHandler<DeleteCacheSecurityGroupRequest,Void> asyncHandler)
           Deletes a Cache Security Group.
 Future<Void> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest)
           Deletes a Cache Subnet Group.
 Future<Void> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest, AsyncHandler<DeleteCacheSubnetGroupRequest,Void> asyncHandler)
           Deletes a Cache Subnet Group.
 Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest)
           Returns information about all provisioned Cache Clusters if no Cache Cluster identifier is specified, or about a specific Cache Cluster if a Cache Cluster identifier is supplied.
 Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest, AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
           Returns information about all provisioned Cache Clusters if no Cache Cluster identifier is specified, or about a specific Cache Cluster if a Cache Cluster identifier is supplied.
 Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest)
           Returns a list of the available cache engines and their versions.
 Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest, AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
           Returns a list of the available cache engines and their versions.
 Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest)
           Returns a list of CacheParameterGroup descriptions.
 Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest, AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
           Returns a list of CacheParameterGroup descriptions.
 Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest)
           Returns the detailed parameter list for a particular CacheParameterGroup.
 Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest, AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler)
           Returns the detailed parameter list for a particular CacheParameterGroup.
 Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest)
           Returns a list of CacheSecurityGroup descriptions.
 Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest, AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
           Returns a list of CacheSecurityGroup descriptions.
 Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest)
           Returns a list of CacheSubnetGroup descriptions.
 Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest, AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
           Returns a list of CacheSubnetGroup descriptions.
 Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest)
           Returns the default engine and system parameter information for the specified cache engine.
 Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest, AsyncHandler<DescribeEngineDefaultParametersRequest,EngineDefaults> asyncHandler)
           Returns the default engine and system parameter information for the specified cache engine.
 Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest)
           Returns events related to Cache Clusters, Cache Security Groups, and Cache Parameter Groups for the past 14 days.
 Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
           Returns events related to Cache Clusters, Cache Security Groups, and Cache Parameter Groups for the past 14 days.
 Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest)
           Returns information about reserved Cache Nodes for this account, or about a specified reserved Cache Node.
 Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest, AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
           Returns information about reserved Cache Nodes for this account, or about a specified reserved Cache Node.
 Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest)
           Lists available reserved Cache Node offerings.
 Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest, AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
           Lists available reserved Cache Node offerings.
 ExecutorService getExecutorService()
          Returns the executor service used by this async client to execute requests.
 Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest)
           Modifies the Cache Cluster settings.
 Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest, AsyncHandler<ModifyCacheClusterRequest,CacheCluster> asyncHandler)
           Modifies the Cache Cluster settings.
 Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest)
           Modifies the parameters of a CacheParameterGroup.
 Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest, AsyncHandler<ModifyCacheParameterGroupRequest,ModifyCacheParameterGroupResult> asyncHandler)
           Modifies the parameters of a CacheParameterGroup.
 Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest)
           Modifies an existing Cache Subnet Group.
 Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest, AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
           Modifies an existing Cache Subnet Group.
 Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest)
           Purchases a reserved Cache Node offering.
 Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest, AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler)
           Purchases a reserved Cache Node offering.
 Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest)
           Reboots some (or all) of the cache cluster nodes within a previously provisioned ElastiCache cluster.
 Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest, AsyncHandler<RebootCacheClusterRequest,CacheCluster> asyncHandler)
           Reboots some (or all) of the cache cluster nodes within a previously provisioned ElastiCache cluster.
 Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest)
           Modifies the parameters of a CacheParameterGroup to the engine or system default value.
 Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest, AsyncHandler<ResetCacheParameterGroupRequest,ResetCacheParameterGroupResult> asyncHandler)
           Modifies the parameters of a CacheParameterGroup to the engine or system default value.
 Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest)
           Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.
 Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest, AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
           Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.
 void shutdown()
          Shuts down the client, releasing all managed resources.
 
Methods inherited from class com.amazonaws.services.elasticache.AmazonElastiCacheClient
authorizeCacheSecurityGroupIngress, createCacheCluster, createCacheParameterGroup, createCacheSecurityGroup, createCacheSubnetGroup, deleteCacheCluster, deleteCacheParameterGroup, deleteCacheSecurityGroup, deleteCacheSubnetGroup, describeCacheClusters, describeCacheClusters, describeCacheEngineVersions, describeCacheEngineVersions, describeCacheParameterGroups, describeCacheParameterGroups, describeCacheParameters, describeCacheSecurityGroups, describeCacheSecurityGroups, describeCacheSubnetGroups, describeCacheSubnetGroups, describeEngineDefaultParameters, describeEvents, describeEvents, describeReservedCacheNodes, describeReservedCacheNodes, describeReservedCacheNodesOfferings, describeReservedCacheNodesOfferings, getCachedResponseMetadata, modifyCacheCluster, modifyCacheParameterGroup, modifyCacheSubnetGroup, purchaseReservedCacheNodesOffering, rebootCacheCluster, resetCacheParameterGroup, revokeCacheSecurityGroupIngress
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.elasticache.AmazonElastiCache
authorizeCacheSecurityGroupIngress, createCacheCluster, createCacheParameterGroup, createCacheSecurityGroup, createCacheSubnetGroup, deleteCacheCluster, deleteCacheParameterGroup, deleteCacheSecurityGroup, deleteCacheSubnetGroup, describeCacheClusters, describeCacheClusters, describeCacheEngineVersions, describeCacheEngineVersions, describeCacheParameterGroups, describeCacheParameterGroups, describeCacheParameters, describeCacheSecurityGroups, describeCacheSecurityGroups, describeCacheSubnetGroups, describeCacheSubnetGroups, describeEngineDefaultParameters, describeEvents, describeEvents, describeReservedCacheNodes, describeReservedCacheNodes, describeReservedCacheNodesOfferings, describeReservedCacheNodesOfferings, getCachedResponseMetadata, modifyCacheCluster, modifyCacheParameterGroup, modifyCacheSubnetGroup, purchaseReservedCacheNodesOffering, rebootCacheCluster, resetCacheParameterGroup, revokeCacheSecurityGroupIngress, setEndpoint, setRegion
 

Constructor Detail

AmazonElastiCacheAsyncClient

public AmazonElastiCacheAsyncClient()
Constructs a new asynchronous client to invoke service methods on AmazonElastiCache. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

See Also:
DefaultAWSCredentialsProvider

AmazonElastiCacheAsyncClient

public AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonElastiCache. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
clientConfiguration - The client configuration options controlling how this client connects to AmazonElastiCache (ex: proxy settings, retry counts, etc.).
See Also:
DefaultAWSCredentialsProvider

AmazonElastiCacheAsyncClient

public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AmazonElastiCacheAsyncClient

public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials,
                                    ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AmazonElastiCacheAsyncClient

public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials,
                                    ClientConfiguration clientConfiguration,
                                    ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.

AmazonElastiCacheAsyncClient

public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials provider. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.

AmazonElastiCacheAsyncClient

public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                    ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials provider and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AmazonElastiCacheAsyncClient

public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                    ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials provider and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).

AmazonElastiCacheAsyncClient

public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                    ClientConfiguration clientConfiguration,
                                    ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonElastiCache using the specified AWS account credentials provider, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.
Method Detail

getExecutorService

public ExecutorService getExecutorService()
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.

shutdown

public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() prior to calling this method.

Specified by:
shutdown in interface AmazonElastiCache
Overrides:
shutdown in class AmazonWebServiceClient

authorizeCacheSecurityGroupIngressAsync

public Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Authorizes ingress to a CacheSecurityGroup using EC2 Security Groups as authorization (therefore the application using the cache must be running on EC2 clusters). This API requires the following parameters: EC2SecurityGroupName and EC2SecurityGroupOwnerId.

NOTE: You cannot authorize ingress from an EC2 security group in one Region to an Amazon Cache Cluster in another.

Specified by:
authorizeCacheSecurityGroupIngressAsync in interface AmazonElastiCacheAsync
Parameters:
authorizeCacheSecurityGroupIngressRequest - Container for the necessary parameters to execute the AuthorizeCacheSecurityGroupIngress operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the AuthorizeCacheSecurityGroupIngress service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

authorizeCacheSecurityGroupIngressAsync

public Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest,
                                                                          AsyncHandler<AuthorizeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Authorizes ingress to a CacheSecurityGroup using EC2 Security Groups as authorization (therefore the application using the cache must be running on EC2 clusters). This API requires the following parameters: EC2SecurityGroupName and EC2SecurityGroupOwnerId.

NOTE: You cannot authorize ingress from an EC2 security group in one Region to an Amazon Cache Cluster in another.

Specified by:
authorizeCacheSecurityGroupIngressAsync in interface AmazonElastiCacheAsync
Parameters:
authorizeCacheSecurityGroupIngressRequest - Container for the necessary parameters to execute the AuthorizeCacheSecurityGroupIngress operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the AuthorizeCacheSecurityGroupIngress service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

createCacheSubnetGroupAsync

public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Creates a new Cache Subnet Group.

Specified by:
createCacheSubnetGroupAsync in interface AmazonElastiCacheAsync
Parameters:
createCacheSubnetGroupRequest - Container for the necessary parameters to execute the CreateCacheSubnetGroup operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the CreateCacheSubnetGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

createCacheSubnetGroupAsync

public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest,
                                                            AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Creates a new Cache Subnet Group.

Specified by:
createCacheSubnetGroupAsync in interface AmazonElastiCacheAsync
Parameters:
createCacheSubnetGroupRequest - Container for the necessary parameters to execute the CreateCacheSubnetGroup operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateCacheSubnetGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

purchaseReservedCacheNodesOfferingAsync

public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest)
                                                                  throws AmazonServiceException,
                                                                         AmazonClientException

Purchases a reserved Cache Node offering.

Specified by:
purchaseReservedCacheNodesOfferingAsync in interface AmazonElastiCacheAsync
Parameters:
purchaseReservedCacheNodesOfferingRequest - Container for the necessary parameters to execute the PurchaseReservedCacheNodesOffering operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the PurchaseReservedCacheNodesOffering service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

purchaseReservedCacheNodesOfferingAsync

public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest,
                                                                         AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler)
                                                                  throws AmazonServiceException,
                                                                         AmazonClientException

Purchases a reserved Cache Node offering.

Specified by:
purchaseReservedCacheNodesOfferingAsync in interface AmazonElastiCacheAsync
Parameters:
purchaseReservedCacheNodesOfferingRequest - Container for the necessary parameters to execute the PurchaseReservedCacheNodesOffering operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the PurchaseReservedCacheNodesOffering service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

rebootCacheClusterAsync

public Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Reboots some (or all) of the cache cluster nodes within a previously provisioned ElastiCache cluster. This API results in the application of modified CacheParameterGroup parameters to the cache cluster. This action is taken as soon as possible, and results in a momentary outage to the cache cluster during which the cache cluster status is set to rebooting. During that momentary outage, the contents of the cache (for each cache cluster node being rebooted) are lost. A CacheCluster event is created when the reboot is completed.

Specified by:
rebootCacheClusterAsync in interface AmazonElastiCacheAsync
Parameters:
rebootCacheClusterRequest - Container for the necessary parameters to execute the RebootCacheCluster operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the RebootCacheCluster service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

rebootCacheClusterAsync

public Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest,
                                                    AsyncHandler<RebootCacheClusterRequest,CacheCluster> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Reboots some (or all) of the cache cluster nodes within a previously provisioned ElastiCache cluster. This API results in the application of modified CacheParameterGroup parameters to the cache cluster. This action is taken as soon as possible, and results in a momentary outage to the cache cluster during which the cache cluster status is set to rebooting. During that momentary outage, the contents of the cache (for each cache cluster node being rebooted) are lost. A CacheCluster event is created when the reboot is completed.

Specified by:
rebootCacheClusterAsync in interface AmazonElastiCacheAsync
Parameters:
rebootCacheClusterRequest - Container for the necessary parameters to execute the RebootCacheCluster operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the RebootCacheCluster service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

revokeCacheSecurityGroupIngressAsync

public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest)
                                                                throws AmazonServiceException,
                                                                       AmazonClientException

Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.

Specified by:
revokeCacheSecurityGroupIngressAsync in interface AmazonElastiCacheAsync
Parameters:
revokeCacheSecurityGroupIngressRequest - Container for the necessary parameters to execute the RevokeCacheSecurityGroupIngress operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the RevokeCacheSecurityGroupIngress service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

revokeCacheSecurityGroupIngressAsync

public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest,
                                                                       AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
                                                                throws AmazonServiceException,
                                                                       AmazonClientException

Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.

Specified by:
revokeCacheSecurityGroupIngressAsync in interface AmazonElastiCacheAsync
Parameters:
revokeCacheSecurityGroupIngressRequest - Container for the necessary parameters to execute the RevokeCacheSecurityGroupIngress operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the RevokeCacheSecurityGroupIngress service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheSubnetGroupsAsync

public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Returns a list of CacheSubnetGroup descriptions. If a CacheSubnetGroupName is specified, the list will contain only the description of the specified Cache Subnet Group.

Specified by:
describeCacheSubnetGroupsAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheSubnetGroupsRequest - Container for the necessary parameters to execute the DescribeCacheSubnetGroups operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeCacheSubnetGroups service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheSubnetGroupsAsync

public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest,
                                                                              AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Returns a list of CacheSubnetGroup descriptions. If a CacheSubnetGroupName is specified, the list will contain only the description of the specified Cache Subnet Group.

Specified by:
describeCacheSubnetGroupsAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheSubnetGroupsRequest - Container for the necessary parameters to execute the DescribeCacheSubnetGroups operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeCacheSubnetGroups service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

createCacheSecurityGroupAsync

public Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Creates a new Cache Security Group. Cache Security groups control access to one or more Cache Clusters.

Only use cache security groups when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). Inside of a VPC, use VPC security groups.

Specified by:
createCacheSecurityGroupAsync in interface AmazonElastiCacheAsync
Parameters:
createCacheSecurityGroupRequest - Container for the necessary parameters to execute the CreateCacheSecurityGroup operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the CreateCacheSecurityGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

createCacheSecurityGroupAsync

public Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest,
                                                                AsyncHandler<CreateCacheSecurityGroupRequest,CacheSecurityGroup> asyncHandler)
                                                         throws AmazonServiceException,
                                                                AmazonClientException

Creates a new Cache Security Group. Cache Security groups control access to one or more Cache Clusters.

Only use cache security groups when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). Inside of a VPC, use VPC security groups.

Specified by:
createCacheSecurityGroupAsync in interface AmazonElastiCacheAsync
Parameters:
createCacheSecurityGroupRequest - Container for the necessary parameters to execute the CreateCacheSecurityGroup operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateCacheSecurityGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

createCacheClusterAsync

public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Creates a new Cache Cluster.

Specified by:
createCacheClusterAsync in interface AmazonElastiCacheAsync
Parameters:
createCacheClusterRequest - Container for the necessary parameters to execute the CreateCacheCluster operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the CreateCacheCluster service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

createCacheClusterAsync

public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest,
                                                    AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Creates a new Cache Cluster.

Specified by:
createCacheClusterAsync in interface AmazonElastiCacheAsync
Parameters:
createCacheClusterRequest - Container for the necessary parameters to execute the CreateCacheCluster operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateCacheCluster service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeEventsAsync

public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Returns events related to Cache Clusters, Cache Security Groups, and Cache Parameter Groups for the past 14 days. Events specific to a particular Cache Cluster, Cache Security Group, or Cache Parameter Group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.

Specified by:
describeEventsAsync in interface AmazonElastiCacheAsync
Parameters:
describeEventsRequest - Container for the necessary parameters to execute the DescribeEvents operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeEvents service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeEventsAsync

public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest,
                                                        AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Returns events related to Cache Clusters, Cache Security Groups, and Cache Parameter Groups for the past 14 days. Events specific to a particular Cache Cluster, Cache Security Group, or Cache Parameter Group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.

Specified by:
describeEventsAsync in interface AmazonElastiCacheAsync
Parameters:
describeEventsRequest - Container for the necessary parameters to execute the DescribeEvents operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeEvents service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeReservedCacheNodesAsync

public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest)
                                                                         throws AmazonServiceException,
                                                                                AmazonClientException

Returns information about reserved Cache Nodes for this account, or about a specified reserved Cache Node.

Specified by:
describeReservedCacheNodesAsync in interface AmazonElastiCacheAsync
Parameters:
describeReservedCacheNodesRequest - Container for the necessary parameters to execute the DescribeReservedCacheNodes operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeReservedCacheNodes service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeReservedCacheNodesAsync

public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest,
                                                                                AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
                                                                         throws AmazonServiceException,
                                                                                AmazonClientException

Returns information about reserved Cache Nodes for this account, or about a specified reserved Cache Node.

Specified by:
describeReservedCacheNodesAsync in interface AmazonElastiCacheAsync
Parameters:
describeReservedCacheNodesRequest - Container for the necessary parameters to execute the DescribeReservedCacheNodes operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeReservedCacheNodes service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheEngineVersionsAsync

public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns a list of the available cache engines and their versions.

Specified by:
describeCacheEngineVersionsAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheEngineVersionsRequest - Container for the necessary parameters to execute the DescribeCacheEngineVersions operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeCacheEngineVersions service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheEngineVersionsAsync

public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest,
                                                                                  AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns a list of the available cache engines and their versions.

Specified by:
describeCacheEngineVersionsAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheEngineVersionsRequest - Container for the necessary parameters to execute the DescribeCacheEngineVersions operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeCacheEngineVersions service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

deleteCacheParameterGroupAsync

public Future<Void> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Deletes the specified CacheParameterGroup. The CacheParameterGroup cannot be deleted if it is associated with any cache clusters.

Specified by:
deleteCacheParameterGroupAsync in interface AmazonElastiCacheAsync
Parameters:
deleteCacheParameterGroupRequest - Container for the necessary parameters to execute the DeleteCacheParameterGroup operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DeleteCacheParameterGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

deleteCacheParameterGroupAsync

public Future<Void> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest,
                                                   AsyncHandler<DeleteCacheParameterGroupRequest,Void> asyncHandler)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Deletes the specified CacheParameterGroup. The CacheParameterGroup cannot be deleted if it is associated with any cache clusters.

Specified by:
deleteCacheParameterGroupAsync in interface AmazonElastiCacheAsync
Parameters:
deleteCacheParameterGroupRequest - Container for the necessary parameters to execute the DeleteCacheParameterGroup operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteCacheParameterGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

modifyCacheParameterGroupAsync

public Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Modifies the parameters of a CacheParameterGroup. To modify more than one parameter, submit a list of ParameterName and ParameterValue parameters. A maximum of 20 parameters can be modified in a single request.

Specified by:
modifyCacheParameterGroupAsync in interface AmazonElastiCacheAsync
Parameters:
modifyCacheParameterGroupRequest - Container for the necessary parameters to execute the ModifyCacheParameterGroup operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the ModifyCacheParameterGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

modifyCacheParameterGroupAsync

public Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest,
                                                                              AsyncHandler<ModifyCacheParameterGroupRequest,ModifyCacheParameterGroupResult> asyncHandler)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Modifies the parameters of a CacheParameterGroup. To modify more than one parameter, submit a list of ParameterName and ParameterValue parameters. A maximum of 20 parameters can be modified in a single request.

Specified by:
modifyCacheParameterGroupAsync in interface AmazonElastiCacheAsync
Parameters:
modifyCacheParameterGroupRequest - Container for the necessary parameters to execute the ModifyCacheParameterGroup operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ModifyCacheParameterGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeEngineDefaultParametersAsync

public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest)
                                                            throws AmazonServiceException,
                                                                   AmazonClientException

Returns the default engine and system parameter information for the specified cache engine.

Specified by:
describeEngineDefaultParametersAsync in interface AmazonElastiCacheAsync
Parameters:
describeEngineDefaultParametersRequest - Container for the necessary parameters to execute the DescribeEngineDefaultParameters operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeEngineDefaultParameters service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeEngineDefaultParametersAsync

public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest,
                                                                   AsyncHandler<DescribeEngineDefaultParametersRequest,EngineDefaults> asyncHandler)
                                                            throws AmazonServiceException,
                                                                   AmazonClientException

Returns the default engine and system parameter information for the specified cache engine.

Specified by:
describeEngineDefaultParametersAsync in interface AmazonElastiCacheAsync
Parameters:
describeEngineDefaultParametersRequest - Container for the necessary parameters to execute the DescribeEngineDefaultParameters operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeEngineDefaultParameters service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

deleteCacheSubnetGroupAsync

public Future<Void> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest)
                                         throws AmazonServiceException,
                                                AmazonClientException

Deletes a Cache Subnet Group.

NOTE:The specified Cache Subnet Group must not be associated with any Cache Clusters.

Specified by:
deleteCacheSubnetGroupAsync in interface AmazonElastiCacheAsync
Parameters:
deleteCacheSubnetGroupRequest - Container for the necessary parameters to execute the DeleteCacheSubnetGroup operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DeleteCacheSubnetGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

deleteCacheSubnetGroupAsync

public Future<Void> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest,
                                                AsyncHandler<DeleteCacheSubnetGroupRequest,Void> asyncHandler)
                                         throws AmazonServiceException,
                                                AmazonClientException

Deletes a Cache Subnet Group.

NOTE:The specified Cache Subnet Group must not be associated with any Cache Clusters.

Specified by:
deleteCacheSubnetGroupAsync in interface AmazonElastiCacheAsync
Parameters:
deleteCacheSubnetGroupRequest - Container for the necessary parameters to execute the DeleteCacheSubnetGroup operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteCacheSubnetGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

createCacheParameterGroupAsync

public Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Creates a new Cache Parameter Group. Cache Parameter groups control the parameters for a Cache Cluster.

Specified by:
createCacheParameterGroupAsync in interface AmazonElastiCacheAsync
Parameters:
createCacheParameterGroupRequest - Container for the necessary parameters to execute the CreateCacheParameterGroup operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the CreateCacheParameterGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

createCacheParameterGroupAsync

public Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest,
                                                                  AsyncHandler<CreateCacheParameterGroupRequest,CacheParameterGroup> asyncHandler)
                                                           throws AmazonServiceException,
                                                                  AmazonClientException

Creates a new Cache Parameter Group. Cache Parameter groups control the parameters for a Cache Cluster.

Specified by:
createCacheParameterGroupAsync in interface AmazonElastiCacheAsync
Parameters:
createCacheParameterGroupRequest - Container for the necessary parameters to execute the CreateCacheParameterGroup operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the CreateCacheParameterGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheSecurityGroupsAsync

public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns a list of CacheSecurityGroup descriptions. If a CacheSecurityGroupName is specified, the list will contain only the description of the specified CacheSecurityGroup.

Specified by:
describeCacheSecurityGroupsAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheSecurityGroupsRequest - Container for the necessary parameters to execute the DescribeCacheSecurityGroups operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeCacheSecurityGroups service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheSecurityGroupsAsync

public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest,
                                                                                  AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns a list of CacheSecurityGroup descriptions. If a CacheSecurityGroupName is specified, the list will contain only the description of the specified CacheSecurityGroup.

Specified by:
describeCacheSecurityGroupsAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheSecurityGroupsRequest - Container for the necessary parameters to execute the DescribeCacheSecurityGroups operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeCacheSecurityGroups service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheParameterGroupsAsync

public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Returns a list of CacheParameterGroup descriptions. If a CacheParameterGroupName is specified, the list will contain only the descriptions of the specified CacheParameterGroup.

Specified by:
describeCacheParameterGroupsAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheParameterGroupsRequest - Container for the necessary parameters to execute the DescribeCacheParameterGroups operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeCacheParameterGroups service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheParameterGroupsAsync

public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest,
                                                                                    AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Returns a list of CacheParameterGroup descriptions. If a CacheParameterGroupName is specified, the list will contain only the descriptions of the specified CacheParameterGroup.

Specified by:
describeCacheParameterGroupsAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheParameterGroupsRequest - Container for the necessary parameters to execute the DescribeCacheParameterGroups operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeCacheParameterGroups service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheClustersAsync

public Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Returns information about all provisioned Cache Clusters if no Cache Cluster identifier is specified, or about a specific Cache Cluster if a Cache Cluster identifier is supplied.

Cluster information will be returned by default. An optional ShowDetails flag can be used to retrieve detailed information about the Cache Nodes associated with the Cache Cluster. Details include the DNS address and port for the Cache Node endpoint.

If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.

If the cluster is in the DELETING state, only cluster level information will be displayed.

While adding Cache Nodes, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. The cluster lifecycle tells the customer when new nodes are AVAILABLE.

While removing existing Cache Nodes from an cluster, endpoint information for the removed nodes will not be displayed.

DescribeCacheClusters supports pagination.

Specified by:
describeCacheClustersAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheClustersRequest - Container for the necessary parameters to execute the DescribeCacheClusters operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeCacheClusters service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheClustersAsync

public Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest,
                                                                      AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Returns information about all provisioned Cache Clusters if no Cache Cluster identifier is specified, or about a specific Cache Cluster if a Cache Cluster identifier is supplied.

Cluster information will be returned by default. An optional ShowDetails flag can be used to retrieve detailed information about the Cache Nodes associated with the Cache Cluster. Details include the DNS address and port for the Cache Node endpoint.

If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.

If the cluster is in the DELETING state, only cluster level information will be displayed.

While adding Cache Nodes, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. The cluster lifecycle tells the customer when new nodes are AVAILABLE.

While removing existing Cache Nodes from an cluster, endpoint information for the removed nodes will not be displayed.

DescribeCacheClusters supports pagination.

Specified by:
describeCacheClustersAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheClustersRequest - Container for the necessary parameters to execute the DescribeCacheClusters operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeCacheClusters service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

resetCacheParameterGroupAsync

public Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Modifies the parameters of a CacheParameterGroup to the engine or system default value. To reset specific parameters submit a list of the parameter names. To reset the entire CacheParameterGroup, specify the CacheParameterGroup name and ResetAllParameters parameters.

Specified by:
resetCacheParameterGroupAsync in interface AmazonElastiCacheAsync
Parameters:
resetCacheParameterGroupRequest - Container for the necessary parameters to execute the ResetCacheParameterGroup operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the ResetCacheParameterGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

resetCacheParameterGroupAsync

public Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest,
                                                                            AsyncHandler<ResetCacheParameterGroupRequest,ResetCacheParameterGroupResult> asyncHandler)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Modifies the parameters of a CacheParameterGroup to the engine or system default value. To reset specific parameters submit a list of the parameter names. To reset the entire CacheParameterGroup, specify the CacheParameterGroup name and ResetAllParameters parameters.

Specified by:
resetCacheParameterGroupAsync in interface AmazonElastiCacheAsync
Parameters:
resetCacheParameterGroupRequest - Container for the necessary parameters to execute the ResetCacheParameterGroup operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ResetCacheParameterGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

deleteCacheSecurityGroupAsync

public Future<Void> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Deletes a Cache Security Group.

NOTE:The specified Cache Security Group must not be associated with any Cache Clusters.

Specified by:
deleteCacheSecurityGroupAsync in interface AmazonElastiCacheAsync
Parameters:
deleteCacheSecurityGroupRequest - Container for the necessary parameters to execute the DeleteCacheSecurityGroup operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DeleteCacheSecurityGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

deleteCacheSecurityGroupAsync

public Future<Void> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest,
                                                  AsyncHandler<DeleteCacheSecurityGroupRequest,Void> asyncHandler)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Deletes a Cache Security Group.

NOTE:The specified Cache Security Group must not be associated with any Cache Clusters.

Specified by:
deleteCacheSecurityGroupAsync in interface AmazonElastiCacheAsync
Parameters:
deleteCacheSecurityGroupRequest - Container for the necessary parameters to execute the DeleteCacheSecurityGroup operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteCacheSecurityGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

modifyCacheClusterAsync

public Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Modifies the Cache Cluster settings. You can change one or more Cache Cluster configuration parameters by specifying the parameters and the new values in the request.

Specified by:
modifyCacheClusterAsync in interface AmazonElastiCacheAsync
Parameters:
modifyCacheClusterRequest - Container for the necessary parameters to execute the ModifyCacheCluster operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the ModifyCacheCluster service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

modifyCacheClusterAsync

public Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest,
                                                    AsyncHandler<ModifyCacheClusterRequest,CacheCluster> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Modifies the Cache Cluster settings. You can change one or more Cache Cluster configuration parameters by specifying the parameters and the new values in the request.

Specified by:
modifyCacheClusterAsync in interface AmazonElastiCacheAsync
Parameters:
modifyCacheClusterRequest - Container for the necessary parameters to execute the ModifyCacheCluster operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ModifyCacheCluster service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

deleteCacheClusterAsync

public Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Deletes a previously provisioned Cache Cluster. A successful response from the web service indicates the request was received correctly. This action cannot be canceled or reverted. DeleteCacheCluster deletes all associated Cache Nodes, node endpoints and the Cache Cluster itself.

Specified by:
deleteCacheClusterAsync in interface AmazonElastiCacheAsync
Parameters:
deleteCacheClusterRequest - Container for the necessary parameters to execute the DeleteCacheCluster operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DeleteCacheCluster service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

deleteCacheClusterAsync

public Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest,
                                                    AsyncHandler<DeleteCacheClusterRequest,CacheCluster> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Deletes a previously provisioned Cache Cluster. A successful response from the web service indicates the request was received correctly. This action cannot be canceled or reverted. DeleteCacheCluster deletes all associated Cache Nodes, node endpoints and the Cache Cluster itself.

Specified by:
deleteCacheClusterAsync in interface AmazonElastiCacheAsync
Parameters:
deleteCacheClusterRequest - Container for the necessary parameters to execute the DeleteCacheCluster operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteCacheCluster service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeReservedCacheNodesOfferingsAsync

public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest)
                                                                                           throws AmazonServiceException,
                                                                                                  AmazonClientException

Lists available reserved Cache Node offerings.

Specified by:
describeReservedCacheNodesOfferingsAsync in interface AmazonElastiCacheAsync
Parameters:
describeReservedCacheNodesOfferingsRequest - Container for the necessary parameters to execute the DescribeReservedCacheNodesOfferings operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeReservedCacheNodesOfferings service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeReservedCacheNodesOfferingsAsync

public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest,
                                                                                                  AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
                                                                                           throws AmazonServiceException,
                                                                                                  AmazonClientException

Lists available reserved Cache Node offerings.

Specified by:
describeReservedCacheNodesOfferingsAsync in interface AmazonElastiCacheAsync
Parameters:
describeReservedCacheNodesOfferingsRequest - Container for the necessary parameters to execute the DescribeReservedCacheNodesOfferings operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeReservedCacheNodesOfferings service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheParametersAsync

public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Returns the detailed parameter list for a particular CacheParameterGroup.

Specified by:
describeCacheParametersAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheParametersRequest - Container for the necessary parameters to execute the DescribeCacheParameters operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the DescribeCacheParameters service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

describeCacheParametersAsync

public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest,
                                                                          AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Returns the detailed parameter list for a particular CacheParameterGroup.

Specified by:
describeCacheParametersAsync in interface AmazonElastiCacheAsync
Parameters:
describeCacheParametersRequest - Container for the necessary parameters to execute the DescribeCacheParameters operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DescribeCacheParameters service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

modifyCacheSubnetGroupAsync

public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Modifies an existing Cache Subnet Group.

Specified by:
modifyCacheSubnetGroupAsync in interface AmazonElastiCacheAsync
Parameters:
modifyCacheSubnetGroupRequest - Container for the necessary parameters to execute the ModifyCacheSubnetGroup operation on AmazonElastiCache.
Returns:
A Java Future object containing the response from the ModifyCacheSubnetGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.

modifyCacheSubnetGroupAsync

public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest,
                                                            AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Modifies an existing Cache Subnet Group.

Specified by:
modifyCacheSubnetGroupAsync in interface AmazonElastiCacheAsync
Parameters:
modifyCacheSubnetGroupRequest - Container for the necessary parameters to execute the ModifyCacheSubnetGroup operation on AmazonElastiCache.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ModifyCacheSubnetGroup service method, as returned by AmazonElastiCache.
Throws:
AmazonClientException - If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
AmazonServiceException - If an error response is returned by AmazonElastiCache indicating either a problem with the data in the request, or a server side issue.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.