@ThreadSafe public class AmazonElastiCacheAsyncClient extends AmazonElastiCacheClient implements AmazonElastiCacheAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale a distributed cache in the cloud.
With 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 setup, 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.
configFactory, exceptionUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
ENDPOINT_PREFIX
Constructor and Description |
---|
AmazonElastiCacheAsyncClient()
Constructs a new asynchronous client to invoke service methods on Amazon
ElastiCache.
|
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Amazon
ElastiCache using the specified AWS account credentials.
|
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon
ElastiCache 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 Amazon
ElastiCache using the specified AWS account credentials and executor
service.
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on Amazon
ElastiCache using the specified AWS account credentials provider.
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon
ElastiCache using the provided 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 Amazon
ElastiCache 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 Amazon
ElastiCache using the specified AWS account credentials provider and
executor service.
|
AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon
ElastiCache.
|
addTagsToResource, authorizeCacheSecurityGroupIngress, copySnapshot, createCacheCluster, createCacheParameterGroup, createCacheSecurityGroup, createCacheSubnetGroup, createReplicationGroup, createSnapshot, deleteCacheCluster, deleteCacheParameterGroup, deleteCacheSecurityGroup, deleteCacheSubnetGroup, deleteReplicationGroup, deleteSnapshot, describeCacheClusters, describeCacheClusters, describeCacheEngineVersions, describeCacheEngineVersions, describeCacheParameterGroups, describeCacheParameterGroups, describeCacheParameters, describeCacheSecurityGroups, describeCacheSecurityGroups, describeCacheSubnetGroups, describeCacheSubnetGroups, describeEngineDefaultParameters, describeEvents, describeEvents, describeReplicationGroups, describeReplicationGroups, describeReservedCacheNodes, describeReservedCacheNodes, describeReservedCacheNodesOfferings, describeReservedCacheNodesOfferings, describeSnapshots, describeSnapshots, getCachedResponseMetadata, listAllowedNodeTypeModifications, listAllowedNodeTypeModifications, listTagsForResource, modifyCacheCluster, modifyCacheParameterGroup, modifyCacheSubnetGroup, modifyReplicationGroup, purchaseReservedCacheNodesOffering, rebootCacheCluster, removeTagsFromResource, resetCacheParameterGroup, revokeCacheSecurityGroupIngress
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTagsToResource, authorizeCacheSecurityGroupIngress, copySnapshot, createCacheCluster, createCacheParameterGroup, createCacheSecurityGroup, createCacheSubnetGroup, createReplicationGroup, createSnapshot, deleteCacheCluster, deleteCacheParameterGroup, deleteCacheSecurityGroup, deleteCacheSubnetGroup, deleteReplicationGroup, deleteSnapshot, describeCacheClusters, describeCacheClusters, describeCacheEngineVersions, describeCacheEngineVersions, describeCacheParameterGroups, describeCacheParameterGroups, describeCacheParameters, describeCacheSecurityGroups, describeCacheSecurityGroups, describeCacheSubnetGroups, describeCacheSubnetGroups, describeEngineDefaultParameters, describeEvents, describeEvents, describeReplicationGroups, describeReplicationGroups, describeReservedCacheNodes, describeReservedCacheNodes, describeReservedCacheNodesOfferings, describeReservedCacheNodesOfferings, describeSnapshots, describeSnapshots, getCachedResponseMetadata, listAllowedNodeTypeModifications, listAllowedNodeTypeModifications, listTagsForResource, modifyCacheCluster, modifyCacheParameterGroup, modifyCacheSubnetGroup, modifyReplicationGroup, purchaseReservedCacheNodesOffering, rebootCacheCluster, removeTagsFromResource, resetCacheParameterGroup, revokeCacheSecurityGroupIngress, setEndpoint, setRegion
public AmazonElastiCacheAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
public AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to Amazon ElastiCache (ex: proxy settings, retry counts,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
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)
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)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
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).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
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, ExecutorService executorService)
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.public ExecutorService getExecutorService()
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request)
AmazonElastiCacheAsync
The AddTagsToResource action adds up to 10 cost allocation tags to the named resource. A cost allocation tag is a key-value pair where the key and value are case-sensitive. Cost allocation tags can be used to categorize and track your AWS costs.
When you apply tags to your ElastiCache resources, AWS generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags in Amazon ElastiCache in the ElastiCache User Guide.
addTagsToResourceAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of an AddTagsToResource action.public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest,AddTagsToResourceResult> asyncHandler)
AmazonElastiCacheAsync
The AddTagsToResource action adds up to 10 cost allocation tags to the named resource. A cost allocation tag is a key-value pair where the key and value are case-sensitive. Cost allocation tags can be used to categorize and track your AWS costs.
When you apply tags to your ElastiCache resources, AWS generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags in Amazon ElastiCache in the ElastiCache User Guide.
addTagsToResourceAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of an AddTagsToResource action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest request)
AmazonElastiCacheAsync
The AuthorizeCacheSecurityGroupIngress action allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism.
You cannot authorize ingress from an Amazon EC2 security group in one region to an ElastiCache cluster in another region.
authorizeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of an
AuthorizeCacheSecurityGroupIngress action.public Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest request, AsyncHandler<AuthorizeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
AmazonElastiCacheAsync
The AuthorizeCacheSecurityGroupIngress action allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism.
You cannot authorize ingress from an Amazon EC2 security group in one region to an ElastiCache cluster in another region.
authorizeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of an
AuthorizeCacheSecurityGroupIngress action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<Snapshot> copySnapshotAsync(CopySnapshotRequest request)
AmazonElastiCacheAsync
The CopySnapshot action makes a copy of an existing snapshot.
Users or groups that have permissions to use the CopySnapshot API can create their own Amazon S3 buckets and copy snapshots to it. To control access to your snapshots, use an IAM policy to control who has the ability to use the CopySnapshot API. For more information about using IAM to control the use of ElastiCache APIs, see Exporting Snapshots and Authentication & Access Control.
Erorr Message:
Error Message: The authenticated user does not have sufficient permissions to perform the desired activity.
Solution: Contact your system administrator to get the needed permissions.
copySnapshotAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CopySnapshotMessage action.public Future<Snapshot> copySnapshotAsync(CopySnapshotRequest request, AsyncHandler<CopySnapshotRequest,Snapshot> asyncHandler)
AmazonElastiCacheAsync
The CopySnapshot action makes a copy of an existing snapshot.
Users or groups that have permissions to use the CopySnapshot API can create their own Amazon S3 buckets and copy snapshots to it. To control access to your snapshots, use an IAM policy to control who has the ability to use the CopySnapshot API. For more information about using IAM to control the use of ElastiCache APIs, see Exporting Snapshots and Authentication & Access Control.
Erorr Message:
Error Message: The authenticated user does not have sufficient permissions to perform the desired activity.
Solution: Contact your system administrator to get the needed permissions.
copySnapshotAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CopySnapshotMessage action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest request)
AmazonElastiCacheAsync
The CreateCacheCluster action creates a cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software, either Memcached or Redis.
createCacheClusterAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateCacheCluster action.public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest request, AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler)
AmazonElastiCacheAsync
The CreateCacheCluster action creates a cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software, either Memcached or Redis.
createCacheClusterAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateCacheCluster action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest request)
AmazonElastiCacheAsync
The CreateCacheParameterGroup action creates a new cache parameter group. A cache parameter group is a collection of parameters that you apply to all of the nodes in a cache cluster.
createCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateCacheParameterGroup action.public Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest request, AsyncHandler<CreateCacheParameterGroupRequest,CacheParameterGroup> asyncHandler)
AmazonElastiCacheAsync
The CreateCacheParameterGroup action creates a new cache parameter group. A cache parameter group is a collection of parameters that you apply to all of the nodes in a cache cluster.
createCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateCacheParameterGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest request)
AmazonElastiCacheAsync
The CreateCacheSecurityGroup action creates a new cache security group. Use a cache security group to control access to one or more cache clusters.
Cache security groups are only used when you are creating a cache cluster outside of an Amazon Virtual Private Cloud (VPC). If you are creating a cache cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.
createCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateCacheSecurityGroup action.public Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest request, AsyncHandler<CreateCacheSecurityGroupRequest,CacheSecurityGroup> asyncHandler)
AmazonElastiCacheAsync
The CreateCacheSecurityGroup action creates a new cache security group. Use a cache security group to control access to one or more cache clusters.
Cache security groups are only used when you are creating a cache cluster outside of an Amazon Virtual Private Cloud (VPC). If you are creating a cache cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.
createCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateCacheSecurityGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest request)
AmazonElastiCacheAsync
The CreateCacheSubnetGroup action creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).
createCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateCacheSubnetGroup action.public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest request, AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
AmazonElastiCacheAsync
The CreateCacheSubnetGroup action creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).
createCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateCacheSubnetGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ReplicationGroup> createReplicationGroupAsync(CreateReplicationGroupRequest request)
AmazonElastiCacheAsync
The CreateReplicationGroup action creates a replication group. A replication group is a collection of cache clusters, where one of the cache clusters is a read/write primary and the others are read-only replicas. Writes to the primary are automatically propagated to the replicas.
When you create a replication group, you must specify an existing cache cluster that is in the primary role. When the replication group has been successfully created, you can add one or more read replica replicas to it, up to a total of five read replicas.
This action is valid only for Redis.
createReplicationGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateReplicationGroup action.public Future<ReplicationGroup> createReplicationGroupAsync(CreateReplicationGroupRequest request, AsyncHandler<CreateReplicationGroupRequest,ReplicationGroup> asyncHandler)
AmazonElastiCacheAsync
The CreateReplicationGroup action creates a replication group. A replication group is a collection of cache clusters, where one of the cache clusters is a read/write primary and the others are read-only replicas. Writes to the primary are automatically propagated to the replicas.
When you create a replication group, you must specify an existing cache cluster that is in the primary role. When the replication group has been successfully created, you can add one or more read replica replicas to it, up to a total of five read replicas.
This action is valid only for Redis.
createReplicationGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateReplicationGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<Snapshot> createSnapshotAsync(CreateSnapshotRequest request)
AmazonElastiCacheAsync
The CreateSnapshot action creates a copy of an entire cache cluster at a specific moment in time.
createSnapshotAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateSnapshot action.public Future<Snapshot> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,Snapshot> asyncHandler)
AmazonElastiCacheAsync
The CreateSnapshot action creates a copy of an entire cache cluster at a specific moment in time.
createSnapshotAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a CreateSnapshot action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest request)
AmazonElastiCacheAsync
The DeleteCacheCluster action deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this action, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this action.
This API cannot be used to delete a cache cluster that is the last read replica of a replication group that has Multi-AZ mode enabled.
deleteCacheClusterAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteCacheCluster action.public Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest request, AsyncHandler<DeleteCacheClusterRequest,CacheCluster> asyncHandler)
AmazonElastiCacheAsync
The DeleteCacheCluster action deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this action, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this action.
This API cannot be used to delete a cache cluster that is the last read replica of a replication group that has Multi-AZ mode enabled.
deleteCacheClusterAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteCacheCluster action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCacheParameterGroupResult> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest request)
AmazonElastiCacheAsync
The DeleteCacheParameterGroup action deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.
deleteCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteCacheParameterGroup action.public Future<DeleteCacheParameterGroupResult> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest request, AsyncHandler<DeleteCacheParameterGroupRequest,DeleteCacheParameterGroupResult> asyncHandler)
AmazonElastiCacheAsync
The DeleteCacheParameterGroup action deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.
deleteCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteCacheParameterGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCacheSecurityGroupResult> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest request)
AmazonElastiCacheAsync
The DeleteCacheSecurityGroup action deletes a cache security group.
You cannot delete a cache security group if it is associated with any cache clusters.
deleteCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteCacheSecurityGroup action.public Future<DeleteCacheSecurityGroupResult> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest request, AsyncHandler<DeleteCacheSecurityGroupRequest,DeleteCacheSecurityGroupResult> asyncHandler)
AmazonElastiCacheAsync
The DeleteCacheSecurityGroup action deletes a cache security group.
You cannot delete a cache security group if it is associated with any cache clusters.
deleteCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteCacheSecurityGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCacheSubnetGroupResult> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest request)
AmazonElastiCacheAsync
The DeleteCacheSubnetGroup action deletes a cache subnet group.
You cannot delete a cache subnet group if it is associated with any cache clusters.
deleteCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteCacheSubnetGroup action.public Future<DeleteCacheSubnetGroupResult> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest request, AsyncHandler<DeleteCacheSubnetGroupRequest,DeleteCacheSubnetGroupResult> asyncHandler)
AmazonElastiCacheAsync
The DeleteCacheSubnetGroup action deletes a cache subnet group.
You cannot delete a cache subnet group if it is associated with any cache clusters.
deleteCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteCacheSubnetGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ReplicationGroup> deleteReplicationGroupAsync(DeleteReplicationGroupRequest request)
AmazonElastiCacheAsync
The DeleteReplicationGroup action deletes an existing replication group. By default, this action deletes the entire replication group, including the primary cluster and all of the read replicas. You can optionally delete only the read replicas, while retaining the primary cluster.
When you receive a successful response from this action, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this action.
deleteReplicationGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteReplicationGroup action.public Future<ReplicationGroup> deleteReplicationGroupAsync(DeleteReplicationGroupRequest request, AsyncHandler<DeleteReplicationGroupRequest,ReplicationGroup> asyncHandler)
AmazonElastiCacheAsync
The DeleteReplicationGroup action deletes an existing replication group. By default, this action deletes the entire replication group, including the primary cluster and all of the read replicas. You can optionally delete only the read replicas, while retaining the primary cluster.
When you receive a successful response from this action, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this action.
deleteReplicationGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteReplicationGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<Snapshot> deleteSnapshotAsync(DeleteSnapshotRequest request)
AmazonElastiCacheAsync
The DeleteSnapshot action deletes an existing snapshot. When you receive a successful response from this action, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this action.
deleteSnapshotAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteSnapshot action.public Future<Snapshot> deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,Snapshot> asyncHandler)
AmazonElastiCacheAsync
The DeleteSnapshot action deletes an existing snapshot. When you receive a successful response from this action, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this action.
deleteSnapshotAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DeleteSnapshot action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest request)
AmazonElastiCacheAsync
The DescribeCacheClusters action 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.
By default, abbreviated information about the cache clusters(s) will be returned. You can use the optional ShowDetails flag to retrieve detailed information about the cache nodes associated with the cache clusters. These 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.
If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the cache cluster state is available, the cluster is ready for use.
If cache nodes are currently being removed from the cache cluster, no endpoint information for the removed nodes is displayed.
describeCacheClustersAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheClusters action.public Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest request, AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeCacheClusters action 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.
By default, abbreviated information about the cache clusters(s) will be returned. You can use the optional ShowDetails flag to retrieve detailed information about the cache nodes associated with the cache clusters. These 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.
If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the cache cluster state is available, the cluster is ready for use.
If cache nodes are currently being removed from the cache cluster, no endpoint information for the removed nodes is displayed.
describeCacheClustersAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheClusters action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCacheClustersResult> describeCacheClustersAsync()
describeCacheClustersAsync
in interface AmazonElastiCacheAsync
describeCacheClustersAsync(DescribeCacheClustersRequest)
public Future<DescribeCacheClustersResult> describeCacheClustersAsync(AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
describeCacheClustersAsync
in interface AmazonElastiCacheAsync
describeCacheClustersAsync(DescribeCacheClustersRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest request)
AmazonElastiCacheAsync
The DescribeCacheEngineVersions action returns a list of the available cache engines and their versions.
describeCacheEngineVersionsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheEngineVersions
action.public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest request, AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeCacheEngineVersions action returns a list of the available cache engines and their versions.
describeCacheEngineVersionsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheEngineVersions
action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync()
describeCacheEngineVersionsAsync
in interface AmazonElastiCacheAsync
describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest)
public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest request)
AmazonElastiCacheAsync
The DescribeCacheParameterGroups action returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list will contain only the descriptions for that group.
describeCacheParameterGroupsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheParameterGroups
action.public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest request, AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeCacheParameterGroups action returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list will contain only the descriptions for that group.
describeCacheParameterGroupsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheParameterGroups
action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync()
describeCacheParameterGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest)
public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest request)
AmazonElastiCacheAsync
The DescribeCacheParameters action returns the detailed parameter list for a particular cache parameter group.
describeCacheParametersAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheParameters action.public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest request, AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeCacheParameters action returns the detailed parameter list for a particular cache parameter group.
describeCacheParametersAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheParameters action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest request)
AmazonElastiCacheAsync
The DescribeCacheSecurityGroups action returns a list of cache security group descriptions. If a cache security group name is specified, the list will contain only the description of that group.
describeCacheSecurityGroupsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheSecurityGroups
action.public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest request, AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeCacheSecurityGroups action returns a list of cache security group descriptions. If a cache security group name is specified, the list will contain only the description of that group.
describeCacheSecurityGroupsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheSecurityGroups
action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync()
describeCacheSecurityGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest)
public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest request)
AmazonElastiCacheAsync
The DescribeCacheSubnetGroups action returns a list of cache subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
describeCacheSubnetGroupsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheSubnetGroups action.public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest request, AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeCacheSubnetGroups action returns a list of cache subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
describeCacheSubnetGroupsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeCacheSubnetGroups action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync()
describeCacheSubnetGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest)
public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest request)
AmazonElastiCacheAsync
The DescribeEngineDefaultParameters action returns the default engine and system parameter information for the specified cache engine.
describeEngineDefaultParametersAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeEngineDefaultParameters
action.public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest request, AsyncHandler<DescribeEngineDefaultParametersRequest,EngineDefaults> asyncHandler)
AmazonElastiCacheAsync
The DescribeEngineDefaultParameters action returns the default engine and system parameter information for the specified cache engine.
describeEngineDefaultParametersAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeEngineDefaultParameters
action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request)
AmazonElastiCacheAsync
The DescribeEvents action returns events related to cache clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular cache cluster, cache security group, or cache parameter group by providing the name as a parameter.
By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.
describeEventsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeEvents action.public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeEvents action returns events related to cache clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular cache cluster, cache security group, or cache parameter group by providing the name as a parameter.
By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.
describeEventsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeEvents action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEventsResult> describeEventsAsync()
describeEventsAsync
in interface AmazonElastiCacheAsync
describeEventsAsync(DescribeEventsRequest)
public Future<DescribeEventsResult> describeEventsAsync(AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
describeEventsAsync
in interface AmazonElastiCacheAsync
describeEventsAsync(DescribeEventsRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(DescribeReplicationGroupsRequest request)
AmazonElastiCacheAsync
The DescribeReplicationGroups action returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
describeReplicationGroupsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeReplicationGroups action.public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(DescribeReplicationGroupsRequest request, AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeReplicationGroups action returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
describeReplicationGroupsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeReplicationGroups action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync()
describeReplicationGroupsAsync
in interface AmazonElastiCacheAsync
describeReplicationGroupsAsync(DescribeReplicationGroupsRequest)
public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler)
public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest request)
AmazonElastiCacheAsync
The DescribeReservedCacheNodes action returns information about reserved cache nodes for this account, or about a specified reserved cache node.
describeReservedCacheNodesAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeReservedCacheNodes
action.public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest request, AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeReservedCacheNodes action returns information about reserved cache nodes for this account, or about a specified reserved cache node.
describeReservedCacheNodesAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeReservedCacheNodes
action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync()
describeReservedCacheNodesAsync
in interface AmazonElastiCacheAsync
describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest)
public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest request)
AmazonElastiCacheAsync
The DescribeReservedCacheNodesOfferings action lists available reserved cache node offerings.
describeReservedCacheNodesOfferingsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a
DescribeReservedCacheNodesOfferings action.public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest request, AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeReservedCacheNodesOfferings action lists available reserved cache node offerings.
describeReservedCacheNodesOfferingsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a
DescribeReservedCacheNodesOfferings action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync()
describeReservedCacheNodesOfferingsAsync
in interface AmazonElastiCacheAsync
describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest)
public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request)
AmazonElastiCacheAsync
The DescribeSnapshots action returns information about cache cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cache cluster.
describeSnapshotsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeSnapshotsMessage action.public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
AmazonElastiCacheAsync
The DescribeSnapshots action returns information about cache cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cache cluster.
describeSnapshotsAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a DescribeSnapshotsMessage action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSnapshotsResult> describeSnapshotsAsync()
describeSnapshotsAsync
in interface AmazonElastiCacheAsync
describeSnapshotsAsync(DescribeSnapshotsRequest)
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
describeSnapshotsAsync
in interface AmazonElastiCacheAsync
describeSnapshotsAsync(DescribeSnapshotsRequest,
com.amazonaws.handlers.AsyncHandler)
public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest request)
AmazonElastiCacheAsync
The ListAllowedNodeTypeModifications
action lists all
available node types that you can scale your Redis cluster's or
replication group's current node type up to.
When you use the ModifyCacheCluster
or
ModifyReplicationGroup
APIs to scale up your cluster or
replication group, the value of the CacheNodeType parameter must
be one of the node types returned by this action.
listAllowedNodeTypeModificationsAsync
in interface AmazonElastiCacheAsync
request
- The input parameters for the
ListAllowedNodeTypeModifications action.public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest request, AsyncHandler<ListAllowedNodeTypeModificationsRequest,ListAllowedNodeTypeModificationsResult> asyncHandler)
AmazonElastiCacheAsync
The ListAllowedNodeTypeModifications
action lists all
available node types that you can scale your Redis cluster's or
replication group's current node type up to.
When you use the ModifyCacheCluster
or
ModifyReplicationGroup
APIs to scale up your cluster or
replication group, the value of the CacheNodeType parameter must
be one of the node types returned by this action.
listAllowedNodeTypeModificationsAsync
in interface AmazonElastiCacheAsync
request
- The input parameters for the
ListAllowedNodeTypeModifications action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync()
listAllowedNodeTypeModificationsAsync
in interface AmazonElastiCacheAsync
listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest)
public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync(AsyncHandler<ListAllowedNodeTypeModificationsRequest,ListAllowedNodeTypeModificationsResult> asyncHandler)
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonElastiCacheAsync
The ListTagsForResource action lists all cost allocation tags currently on the named resource. A cost allocation tag is a key-value pair where the key is case-sensitive and the value is optional. Cost allocation tags can be used to categorize and track your AWS costs.
You can have a maximum of 10 cost allocation tags on an ElastiCache resource. For more information, see Using Cost Allocation Tags in Amazon ElastiCache.
listTagsForResourceAsync
in interface AmazonElastiCacheAsync
request
- The input parameters for the ListTagsForResource action.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonElastiCacheAsync
The ListTagsForResource action lists all cost allocation tags currently on the named resource. A cost allocation tag is a key-value pair where the key is case-sensitive and the value is optional. Cost allocation tags can be used to categorize and track your AWS costs.
You can have a maximum of 10 cost allocation tags on an ElastiCache resource. For more information, see Using Cost Allocation Tags in Amazon ElastiCache.
listTagsForResourceAsync
in interface AmazonElastiCacheAsync
request
- The input parameters for the ListTagsForResource action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest request)
AmazonElastiCacheAsync
The ModifyCacheCluster action modifies the settings for a cache cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values.
modifyCacheClusterAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ModifyCacheCluster action.public Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest request, AsyncHandler<ModifyCacheClusterRequest,CacheCluster> asyncHandler)
AmazonElastiCacheAsync
The ModifyCacheCluster action modifies the settings for a cache cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values.
modifyCacheClusterAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ModifyCacheCluster action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest request)
AmazonElastiCacheAsync
The ModifyCacheParameterGroup action modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
modifyCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ModifyCacheParameterGroup action.public Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest request, AsyncHandler<ModifyCacheParameterGroupRequest,ModifyCacheParameterGroupResult> asyncHandler)
AmazonElastiCacheAsync
The ModifyCacheParameterGroup action modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
modifyCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ModifyCacheParameterGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest request)
AmazonElastiCacheAsync
The ModifyCacheSubnetGroup action modifies an existing cache subnet group.
modifyCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ModifyCacheSubnetGroup action.public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest request, AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
AmazonElastiCacheAsync
The ModifyCacheSubnetGroup action modifies an existing cache subnet group.
modifyCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ModifyCacheSubnetGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ReplicationGroup> modifyReplicationGroupAsync(ModifyReplicationGroupRequest request)
AmazonElastiCacheAsync
The ModifyReplicationGroup action modifies the settings for a replication group.
modifyReplicationGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ModifyReplicationGroups action.public Future<ReplicationGroup> modifyReplicationGroupAsync(ModifyReplicationGroupRequest request, AsyncHandler<ModifyReplicationGroupRequest,ReplicationGroup> asyncHandler)
AmazonElastiCacheAsync
The ModifyReplicationGroup action modifies the settings for a replication group.
modifyReplicationGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ModifyReplicationGroups action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest request)
AmazonElastiCacheAsync
The PurchaseReservedCacheNodesOffering action allows you to purchase a reserved cache node offering.
purchaseReservedCacheNodesOfferingAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a
PurchaseReservedCacheNodesOffering action.public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest request, AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler)
AmazonElastiCacheAsync
The PurchaseReservedCacheNodesOffering action allows you to purchase a reserved cache node offering.
purchaseReservedCacheNodesOfferingAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a
PurchaseReservedCacheNodesOffering action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest request)
AmazonElastiCacheAsync
The RebootCacheCluster action reboots some, or all, of the cache nodes within a provisioned cache cluster. This API will apply any modified cache parameter groups to the cache cluster. The reboot action takes place as soon as possible, and results in a momentary outage to the cache cluster. During the reboot, the cache cluster status is set to REBOOTING.
The reboot causes the contents of the cache (for each cache node being rebooted) to be lost.
When the reboot is complete, a cache cluster event is created.
rebootCacheClusterAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a RebootCacheCluster action.public Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest request, AsyncHandler<RebootCacheClusterRequest,CacheCluster> asyncHandler)
AmazonElastiCacheAsync
The RebootCacheCluster action reboots some, or all, of the cache nodes within a provisioned cache cluster. This API will apply any modified cache parameter groups to the cache cluster. The reboot action takes place as soon as possible, and results in a momentary outage to the cache cluster. During the reboot, the cache cluster status is set to REBOOTING.
The reboot causes the contents of the cache (for each cache node being rebooted) to be lost.
When the reboot is complete, a cache cluster event is created.
rebootCacheClusterAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a RebootCacheCluster action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request)
AmazonElastiCacheAsync
The RemoveTagsFromResource action removes the tags identified by
the TagKeys
list from the named resource.
removeTagsFromResourceAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a RemoveTagsFromResource action.public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest,RemoveTagsFromResourceResult> asyncHandler)
AmazonElastiCacheAsync
The RemoveTagsFromResource action removes the tags identified by
the TagKeys
list from the named resource.
removeTagsFromResourceAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a RemoveTagsFromResource action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest request)
AmazonElastiCacheAsync
The ResetCacheParameterGroup action modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.
resetCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ResetCacheParameterGroup action.public Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest request, AsyncHandler<ResetCacheParameterGroupRequest,ResetCacheParameterGroupResult> asyncHandler)
AmazonElastiCacheAsync
The ResetCacheParameterGroup action modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.
resetCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a ResetCacheParameterGroup action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest request)
AmazonElastiCacheAsync
The RevokeCacheSecurityGroupIngress action revokes ingress from a cache security group. Use this action to disallow access from an Amazon EC2 security group that had been previously authorized.
revokeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a RevokeCacheSecurityGroupIngress
action.public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest request, AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
AmazonElastiCacheAsync
The RevokeCacheSecurityGroupIngress action revokes ingress from a cache security group. Use this action to disallow access from an Amazon EC2 security group that had been previously authorized.
revokeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
request
- Represents the input of a RevokeCacheSecurityGroupIngress
action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AmazonElastiCache
shutdown
in class AmazonWebServiceClient
Copyright © 2016. All rights reserved.