|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceClient
com.amazonaws.services.elasticache.AmazonElastiCacheClient
com.amazonaws.services.elasticache.AmazonElastiCacheAsyncClient
public class AmazonElastiCacheAsyncClient
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. |
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 |
Constructor Detail |
---|
public AmazonElastiCacheAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProvider
public AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AmazonElastiCache
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProvider
public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
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.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
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.
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.public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
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.
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.public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
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.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
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.
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.public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
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.
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).public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
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.
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 |
---|
public ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AmazonElastiCache
shutdown
in class AmazonWebServiceClient
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.
authorizeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
authorizeCacheSecurityGroupIngressRequest
- Container for the
necessary parameters to execute the AuthorizeCacheSecurityGroupIngress
operation on AmazonElastiCache.
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.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.
authorizeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
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.
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.public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a new Cache Subnet Group.
createCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
createCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the CreateCacheSubnetGroup operation on
AmazonElastiCache.
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.public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest, AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new Cache Subnet Group.
createCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
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.
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.public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest) throws AmazonServiceException, AmazonClientException
Purchases a reserved Cache Node offering.
purchaseReservedCacheNodesOfferingAsync
in interface AmazonElastiCacheAsync
purchaseReservedCacheNodesOfferingRequest
- Container for the
necessary parameters to execute the PurchaseReservedCacheNodesOffering
operation on AmazonElastiCache.
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.public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest, AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler) throws AmazonServiceException, AmazonClientException
Purchases a reserved Cache Node offering.
purchaseReservedCacheNodesOfferingAsync
in interface AmazonElastiCacheAsync
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.
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.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.
rebootCacheClusterAsync
in interface AmazonElastiCacheAsync
rebootCacheClusterRequest
- Container for the necessary
parameters to execute the RebootCacheCluster operation on
AmazonElastiCache.
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.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.
rebootCacheClusterAsync
in interface AmazonElastiCacheAsync
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.
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.public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest) throws AmazonServiceException, AmazonClientException
Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.
revokeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
revokeCacheSecurityGroupIngressRequest
- Container for the
necessary parameters to execute the RevokeCacheSecurityGroupIngress
operation on AmazonElastiCache.
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.public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest, AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.
revokeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
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.
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.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.
describeCacheSubnetGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheSubnetGroupsRequest
- Container for the necessary
parameters to execute the DescribeCacheSubnetGroups operation on
AmazonElastiCache.
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.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.
describeCacheSubnetGroupsAsync
in interface AmazonElastiCacheAsync
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.
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.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.
createCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
createCacheSecurityGroupRequest
- Container for the necessary
parameters to execute the CreateCacheSecurityGroup operation on
AmazonElastiCache.
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.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.
createCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
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.
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.public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest) throws AmazonServiceException, AmazonClientException
Creates a new Cache Cluster.
createCacheClusterAsync
in interface AmazonElastiCacheAsync
createCacheClusterRequest
- Container for the necessary
parameters to execute the CreateCacheCluster operation on
AmazonElastiCache.
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.public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest, AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new Cache Cluster.
createCacheClusterAsync
in interface AmazonElastiCacheAsync
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.
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.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.
describeEventsAsync
in interface AmazonElastiCacheAsync
describeEventsRequest
- Container for the necessary parameters to
execute the DescribeEvents operation on AmazonElastiCache.
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.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.
describeEventsAsync
in interface AmazonElastiCacheAsync
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.
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.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.
describeReservedCacheNodesAsync
in interface AmazonElastiCacheAsync
describeReservedCacheNodesRequest
- Container for the necessary
parameters to execute the DescribeReservedCacheNodes operation on
AmazonElastiCache.
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.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.
describeReservedCacheNodesAsync
in interface AmazonElastiCacheAsync
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.
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.public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest) throws AmazonServiceException, AmazonClientException
Returns a list of the available cache engines and their versions.
describeCacheEngineVersionsAsync
in interface AmazonElastiCacheAsync
describeCacheEngineVersionsRequest
- Container for the necessary
parameters to execute the DescribeCacheEngineVersions operation on
AmazonElastiCache.
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.public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest, AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list of the available cache engines and their versions.
describeCacheEngineVersionsAsync
in interface AmazonElastiCacheAsync
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.
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.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.
deleteCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
deleteCacheParameterGroupRequest
- Container for the necessary
parameters to execute the DeleteCacheParameterGroup operation on
AmazonElastiCache.
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.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.
deleteCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
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.
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.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.
modifyCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
modifyCacheParameterGroupRequest
- Container for the necessary
parameters to execute the ModifyCacheParameterGroup operation on
AmazonElastiCache.
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.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.
modifyCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
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.
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.public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest) throws AmazonServiceException, AmazonClientException
Returns the default engine and system parameter information for the specified cache engine.
describeEngineDefaultParametersAsync
in interface AmazonElastiCacheAsync
describeEngineDefaultParametersRequest
- Container for the
necessary parameters to execute the DescribeEngineDefaultParameters
operation on AmazonElastiCache.
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.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.
describeEngineDefaultParametersAsync
in interface AmazonElastiCacheAsync
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.
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.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.
deleteCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
deleteCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the DeleteCacheSubnetGroup operation on
AmazonElastiCache.
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.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.
deleteCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
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.
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.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.
createCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
createCacheParameterGroupRequest
- Container for the necessary
parameters to execute the CreateCacheParameterGroup operation on
AmazonElastiCache.
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.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.
createCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
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.
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.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.
describeCacheSecurityGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheSecurityGroupsRequest
- Container for the necessary
parameters to execute the DescribeCacheSecurityGroups operation on
AmazonElastiCache.
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.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.
describeCacheSecurityGroupsAsync
in interface AmazonElastiCacheAsync
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.
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.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.
describeCacheParameterGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheParameterGroupsRequest
- Container for the necessary
parameters to execute the DescribeCacheParameterGroups operation on
AmazonElastiCache.
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.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.
describeCacheParameterGroupsAsync
in interface AmazonElastiCacheAsync
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.
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.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.
describeCacheClustersAsync
in interface AmazonElastiCacheAsync
describeCacheClustersRequest
- Container for the necessary
parameters to execute the DescribeCacheClusters operation on
AmazonElastiCache.
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.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.
describeCacheClustersAsync
in interface AmazonElastiCacheAsync
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.
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.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.
resetCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
resetCacheParameterGroupRequest
- Container for the necessary
parameters to execute the ResetCacheParameterGroup operation on
AmazonElastiCache.
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.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.
resetCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
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.
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.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.
deleteCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
deleteCacheSecurityGroupRequest
- Container for the necessary
parameters to execute the DeleteCacheSecurityGroup operation on
AmazonElastiCache.
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.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.
deleteCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
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.
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.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.
modifyCacheClusterAsync
in interface AmazonElastiCacheAsync
modifyCacheClusterRequest
- Container for the necessary
parameters to execute the ModifyCacheCluster operation on
AmazonElastiCache.
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.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.
modifyCacheClusterAsync
in interface AmazonElastiCacheAsync
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.
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.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.
deleteCacheClusterAsync
in interface AmazonElastiCacheAsync
deleteCacheClusterRequest
- Container for the necessary
parameters to execute the DeleteCacheCluster operation on
AmazonElastiCache.
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.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.
deleteCacheClusterAsync
in interface AmazonElastiCacheAsync
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.
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.public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest) throws AmazonServiceException, AmazonClientException
Lists available reserved Cache Node offerings.
describeReservedCacheNodesOfferingsAsync
in interface AmazonElastiCacheAsync
describeReservedCacheNodesOfferingsRequest
- Container for the
necessary parameters to execute the
DescribeReservedCacheNodesOfferings operation on AmazonElastiCache.
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.public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest, AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists available reserved Cache Node offerings.
describeReservedCacheNodesOfferingsAsync
in interface AmazonElastiCacheAsync
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.
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.public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest) throws AmazonServiceException, AmazonClientException
Returns the detailed parameter list for a particular CacheParameterGroup.
describeCacheParametersAsync
in interface AmazonElastiCacheAsync
describeCacheParametersRequest
- Container for the necessary
parameters to execute the DescribeCacheParameters operation on
AmazonElastiCache.
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.public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest, AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns the detailed parameter list for a particular CacheParameterGroup.
describeCacheParametersAsync
in interface AmazonElastiCacheAsync
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.
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.public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest) throws AmazonServiceException, AmazonClientException
Modifies an existing Cache Subnet Group.
modifyCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
modifyCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the ModifyCacheSubnetGroup operation on
AmazonElastiCache.
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.public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest, AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies an existing Cache Subnet Group.
modifyCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
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.
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.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |