@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 get all of the benefits of a high-performance, in-memory cache with less of the administrative burden involved in 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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description |
|---|
AmazonElastiCacheAsyncClient()
Deprecated.
|
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
addTagsToResource, authorizeCacheSecurityGroupIngress, builder, 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, waitersaddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTagsToResource, 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, waiters@Deprecated public AmazonElastiCacheAsyncClient()
AmazonElastiCacheAsyncClientBuilder.defaultClient()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).
@Deprecated public AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(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)@Deprecated public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(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).
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)@Deprecated public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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.@Deprecated public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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.@Deprecated public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(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)@Deprecated public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(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)@Deprecated public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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.@Deprecated public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)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 static AmazonElastiCacheAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request)
AmazonElastiCacheAsyncAdds 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. You can use cost allocation tags 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 AmazonElastiCacheAsyncrequest - Represents the input of an AddTagsToResource operation.public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest,AddTagsToResourceResult> asyncHandler)
AmazonElastiCacheAsyncAdds 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. You can use cost allocation tags 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 AmazonElastiCacheAsyncrequest - Represents the input of an AddTagsToResource operation.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)
AmazonElastiCacheAsyncAllows 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 AmazonElastiCacheAsyncrequest - Represents the input of an AuthorizeCacheSecurityGroupIngress operation.public Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest request, AsyncHandler<AuthorizeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
AmazonElastiCacheAsyncAllows 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 AmazonElastiCacheAsyncrequest - Represents the input of an AuthorizeCacheSecurityGroupIngress operation.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)
AmazonElastiCacheAsyncMakes a copy of an existing snapshot.
This operation is valid for Redis only.
Users or groups that have permissions to use the CopySnapshot operation 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 operation. For more information about using IAM to control the
use of ElastiCache operations, see Exporting
Snapshots and Authentication
& Access Control.
You could receive the following error messages.
Error Messages
Error Message: The S3 bucket %s is outside of the region.
Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide.
Error Message: The S3 bucket %s does not exist.
Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide.
Error Message: The S3 bucket %s is not owned by the authenticated user.
Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide.
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.
Error Message: The S3 bucket %s already contains an object with key %s.
Solution: Give the TargetSnapshotName a new and unique value. If exporting a snapshot, you
could alternatively create a new Amazon S3 bucket and use this same value for TargetSnapshotName.
Error Message: ElastiCache has not been granted READ permissions %s on the S3 Bucket.
Solution: Add List and Read permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide.
Error Message: ElastiCache has not been granted WRITE permissions %s on the S3 Bucket.
Solution: Add Upload/Delete permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide.
Error Message: ElastiCache has not been granted READ_ACP permissions %s on the S3 Bucket.
Solution: Add View Permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide.
copySnapshotAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CopySnapshotMessage operation.public Future<Snapshot> copySnapshotAsync(CopySnapshotRequest request, AsyncHandler<CopySnapshotRequest,Snapshot> asyncHandler)
AmazonElastiCacheAsyncMakes a copy of an existing snapshot.
This operation is valid for Redis only.
Users or groups that have permissions to use the CopySnapshot operation 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 operation. For more information about using IAM to control the
use of ElastiCache operations, see Exporting
Snapshots and Authentication
& Access Control.
You could receive the following error messages.
Error Messages
Error Message: The S3 bucket %s is outside of the region.
Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide.
Error Message: The S3 bucket %s does not exist.
Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide.
Error Message: The S3 bucket %s is not owned by the authenticated user.
Solution: Create an Amazon S3 bucket in the same region as your snapshot. For more information, see Step 1: Create an Amazon S3 Bucket in the ElastiCache User Guide.
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.
Error Message: The S3 bucket %s already contains an object with key %s.
Solution: Give the TargetSnapshotName a new and unique value. If exporting a snapshot, you
could alternatively create a new Amazon S3 bucket and use this same value for TargetSnapshotName.
Error Message: ElastiCache has not been granted READ permissions %s on the S3 Bucket.
Solution: Add List and Read permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide.
Error Message: ElastiCache has not been granted WRITE permissions %s on the S3 Bucket.
Solution: Add Upload/Delete permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide.
Error Message: ElastiCache has not been granted READ_ACP permissions %s on the S3 Bucket.
Solution: Add View Permissions on the bucket. For more information, see Step 2: Grant ElastiCache Access to Your Amazon S3 Bucket in the ElastiCache User Guide.
copySnapshotAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CopySnapshotMessage operation.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)
AmazonElastiCacheAsyncCreates a cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software, either Memcached or Redis.
Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups.
createCacheClusterAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CreateCacheCluster operation.public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest request, AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler)
AmazonElastiCacheAsyncCreates a cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software, either Memcached or Redis.
Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups.
createCacheClusterAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CreateCacheCluster operation.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)
AmazonElastiCacheAsyncCreates 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 AmazonElastiCacheAsyncrequest - Represents the input of a CreateCacheParameterGroup operation.public Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest request, AsyncHandler<CreateCacheParameterGroupRequest,CacheParameterGroup> asyncHandler)
AmazonElastiCacheAsyncCreates 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 AmazonElastiCacheAsyncrequest - Represents the input of a CreateCacheParameterGroup operation.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)
AmazonElastiCacheAsyncCreates 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 (Amazon 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 AmazonElastiCacheAsyncrequest - Represents the input of a CreateCacheSecurityGroup operation.public Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest request, AsyncHandler<CreateCacheSecurityGroupRequest,CacheSecurityGroup> asyncHandler)
AmazonElastiCacheAsyncCreates 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 (Amazon 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 AmazonElastiCacheAsyncrequest - Represents the input of a CreateCacheSecurityGroup operation.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)
AmazonElastiCacheAsyncCreates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC).
createCacheSubnetGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CreateCacheSubnetGroup operation.public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest request, AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
AmazonElastiCacheAsyncCreates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC).
createCacheSubnetGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CreateCacheSubnetGroup operation.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)
AmazonElastiCacheAsyncCreates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group.
A Redis (cluster mode disabled) 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 asynchronously propagated to the replicas.
A Redis (cluster mode enabled) replication group is a collection of 1 to 15 node groups (shards). Each node group (shard) has one read/write primary node and up to 5 read-only replica nodes. Writes to the primary are asynchronously propagated to the replicas. Redis (cluster mode enabled) replication groups partition the data across node groups (shards).
When a Redis (cluster mode disabled) replication group has been successfully created, you can add one or more read replicas to it, up to a total of 5 read replicas. You cannot alter a Redis (cluster mode enabled) replication group after it has been created.
This operation is valid for Redis only.
createReplicationGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CreateReplicationGroup operation.public Future<ReplicationGroup> createReplicationGroupAsync(CreateReplicationGroupRequest request, AsyncHandler<CreateReplicationGroupRequest,ReplicationGroup> asyncHandler)
AmazonElastiCacheAsyncCreates a Redis (cluster mode disabled) or a Redis (cluster mode enabled) replication group.
A Redis (cluster mode disabled) 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 asynchronously propagated to the replicas.
A Redis (cluster mode enabled) replication group is a collection of 1 to 15 node groups (shards). Each node group (shard) has one read/write primary node and up to 5 read-only replica nodes. Writes to the primary are asynchronously propagated to the replicas. Redis (cluster mode enabled) replication groups partition the data across node groups (shards).
When a Redis (cluster mode disabled) replication group has been successfully created, you can add one or more read replicas to it, up to a total of 5 read replicas. You cannot alter a Redis (cluster mode enabled) replication group after it has been created.
This operation is valid for Redis only.
createReplicationGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CreateReplicationGroup operation.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)
AmazonElastiCacheAsyncCreates a copy of an entire cache cluster or replication group at a specific moment in time.
This operation is valid for Redis only.
createSnapshotAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CreateSnapshot operation.public Future<Snapshot> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,Snapshot> asyncHandler)
AmazonElastiCacheAsyncCreates a copy of an entire cache cluster or replication group at a specific moment in time.
This operation is valid for Redis only.
createSnapshotAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a CreateSnapshot operation.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
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 operation,
Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation.
This operation cannot be used to delete a cache cluster that is the last read replica of a replication group or node group (shard) that has Multi-AZ mode enabled or a cache cluster from a Redis (cluster mode enabled) replication group.
Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups.
deleteCacheClusterAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteCacheCluster operation.public Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest request, AsyncHandler<DeleteCacheClusterRequest,CacheCluster> asyncHandler)
AmazonElastiCacheAsync
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 operation,
Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation.
This operation cannot be used to delete a cache cluster that is the last read replica of a replication group or node group (shard) that has Multi-AZ mode enabled or a cache cluster from a Redis (cluster mode enabled) replication group.
Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups.
deleteCacheClusterAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteCacheCluster operation.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)
AmazonElastiCacheAsyncDeletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.
deleteCacheParameterGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteCacheParameterGroup operation.public Future<DeleteCacheParameterGroupResult> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest request, AsyncHandler<DeleteCacheParameterGroupRequest,DeleteCacheParameterGroupResult> asyncHandler)
AmazonElastiCacheAsyncDeletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.
deleteCacheParameterGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteCacheParameterGroup operation.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)
AmazonElastiCacheAsyncDeletes a cache security group.
You cannot delete a cache security group if it is associated with any cache clusters.
deleteCacheSecurityGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteCacheSecurityGroup operation.public Future<DeleteCacheSecurityGroupResult> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest request, AsyncHandler<DeleteCacheSecurityGroupRequest,DeleteCacheSecurityGroupResult> asyncHandler)
AmazonElastiCacheAsyncDeletes a cache security group.
You cannot delete a cache security group if it is associated with any cache clusters.
deleteCacheSecurityGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteCacheSecurityGroup operation.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)
AmazonElastiCacheAsyncDeletes a cache subnet group.
You cannot delete a cache subnet group if it is associated with any cache clusters.
deleteCacheSubnetGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteCacheSubnetGroup operation.public Future<DeleteCacheSubnetGroupResult> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest request, AsyncHandler<DeleteCacheSubnetGroupRequest,DeleteCacheSubnetGroupResult> asyncHandler)
AmazonElastiCacheAsyncDeletes a cache subnet group.
You cannot delete a cache subnet group if it is associated with any cache clusters.
deleteCacheSubnetGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteCacheSubnetGroup operation.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
Deletes an existing replication group. By default, this operation deletes the entire replication group, including
the primary/primaries and all of the read replicas. If the replication group has only one primary, you can
optionally delete only the read replicas, while retaining the primary by setting
RetainPrimaryCluster=true.
When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.
This operation is valid for Redis only.
deleteReplicationGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteReplicationGroup operation.public Future<ReplicationGroup> deleteReplicationGroupAsync(DeleteReplicationGroupRequest request, AsyncHandler<DeleteReplicationGroupRequest,ReplicationGroup> asyncHandler)
AmazonElastiCacheAsync
Deletes an existing replication group. By default, this operation deletes the entire replication group, including
the primary/primaries and all of the read replicas. If the replication group has only one primary, you can
optionally delete only the read replicas, while retaining the primary by setting
RetainPrimaryCluster=true.
When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.
This operation is valid for Redis only.
deleteReplicationGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteReplicationGroup operation.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)
AmazonElastiCacheAsyncDeletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.
This operation is valid for Redis only.
deleteSnapshotAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteSnapshot operation.public Future<Snapshot> deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,Snapshot> asyncHandler)
AmazonElastiCacheAsyncDeletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.
This operation is valid for Redis only.
deleteSnapshotAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DeleteSnapshot operation.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)
AmazonElastiCacheAsyncReturns 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 are 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 is displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster-level information is displayed.
If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for
the additional nodes are not 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 AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheClusters operation.public Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest request, AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
AmazonElastiCacheAsyncReturns 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 are 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 is displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster-level information is displayed.
If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for
the additional nodes are not 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 AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheClusters operation.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 AmazonElastiCacheAsyncdescribeCacheClustersAsync(DescribeCacheClustersRequest)public Future<DescribeCacheClustersResult> describeCacheClustersAsync(AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
describeCacheClustersAsync in interface AmazonElastiCacheAsyncdescribeCacheClustersAsync(DescribeCacheClustersRequest, com.amazonaws.handlers.AsyncHandler)public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest request)
AmazonElastiCacheAsyncReturns a list of the available cache engines and their versions.
describeCacheEngineVersionsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheEngineVersions operation.public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest request, AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
AmazonElastiCacheAsyncReturns a list of the available cache engines and their versions.
describeCacheEngineVersionsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheEngineVersions operation.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 AmazonElastiCacheAsyncdescribeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest)public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest request)
AmazonElastiCacheAsyncReturns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list contains only the descriptions for that group.
describeCacheParameterGroupsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheParameterGroups operation.public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest request, AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
AmazonElastiCacheAsyncReturns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list contains only the descriptions for that group.
describeCacheParameterGroupsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheParameterGroups operation.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 AmazonElastiCacheAsyncdescribeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest)public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest request)
AmazonElastiCacheAsyncReturns the detailed parameter list for a particular cache parameter group.
describeCacheParametersAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheParameters operation.public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest request, AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler)
AmazonElastiCacheAsyncReturns the detailed parameter list for a particular cache parameter group.
describeCacheParametersAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheParameters operation.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)
AmazonElastiCacheAsyncReturns a list of cache security group descriptions. If a cache security group name is specified, the list contains only the description of that group.
describeCacheSecurityGroupsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheSecurityGroups operation.public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest request, AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
AmazonElastiCacheAsyncReturns a list of cache security group descriptions. If a cache security group name is specified, the list contains only the description of that group.
describeCacheSecurityGroupsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheSecurityGroups operation.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 AmazonElastiCacheAsyncdescribeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest)public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest request)
AmazonElastiCacheAsyncReturns a list of cache subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.
describeCacheSubnetGroupsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheSubnetGroups operation.public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest request, AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
AmazonElastiCacheAsyncReturns a list of cache subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.
describeCacheSubnetGroupsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeCacheSubnetGroups operation.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 AmazonElastiCacheAsyncdescribeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest)public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
describeCacheSubnetGroupsAsync in interface AmazonElastiCacheAsyncdescribeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest, com.amazonaws.handlers.AsyncHandler)public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest request)
AmazonElastiCacheAsyncReturns the default engine and system parameter information for the specified cache engine.
describeEngineDefaultParametersAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeEngineDefaultParameters operation.public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest request, AsyncHandler<DescribeEngineDefaultParametersRequest,EngineDefaults> asyncHandler)
AmazonElastiCacheAsyncReturns the default engine and system parameter information for the specified cache engine.
describeEngineDefaultParametersAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeEngineDefaultParameters operation.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)
AmazonElastiCacheAsyncReturns 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 AmazonElastiCacheAsyncrequest - Represents the input of a DescribeEvents operation.public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
AmazonElastiCacheAsyncReturns 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 AmazonElastiCacheAsyncrequest - Represents the input of a DescribeEvents operation.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 AmazonElastiCacheAsyncdescribeEventsAsync(DescribeEventsRequest)public Future<DescribeEventsResult> describeEventsAsync(AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
describeEventsAsync in interface AmazonElastiCacheAsyncdescribeEventsAsync(DescribeEventsRequest, com.amazonaws.handlers.AsyncHandler)public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(DescribeReplicationGroupsRequest request)
AmazonElastiCacheAsync
Returns information about a particular replication group. If no identifier is specified,
DescribeReplicationGroups returns information about all replication groups.
This operation is valid for Redis only.
describeReplicationGroupsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeReplicationGroups operation.public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(DescribeReplicationGroupsRequest request, AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler)
AmazonElastiCacheAsync
Returns information about a particular replication group. If no identifier is specified,
DescribeReplicationGroups returns information about all replication groups.
This operation is valid for Redis only.
describeReplicationGroupsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeReplicationGroups operation.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 AmazonElastiCacheAsyncdescribeReplicationGroupsAsync(DescribeReplicationGroupsRequest)public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler)
describeReplicationGroupsAsync in interface AmazonElastiCacheAsyncdescribeReplicationGroupsAsync(DescribeReplicationGroupsRequest, com.amazonaws.handlers.AsyncHandler)public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest request)
AmazonElastiCacheAsyncReturns information about reserved cache nodes for this account, or about a specified reserved cache node.
describeReservedCacheNodesAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeReservedCacheNodes operation.public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest request, AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
AmazonElastiCacheAsyncReturns information about reserved cache nodes for this account, or about a specified reserved cache node.
describeReservedCacheNodesAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeReservedCacheNodes operation.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 AmazonElastiCacheAsyncdescribeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest)public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
describeReservedCacheNodesAsync in interface AmazonElastiCacheAsyncdescribeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest, com.amazonaws.handlers.AsyncHandler)public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest request)
AmazonElastiCacheAsyncLists available reserved cache node offerings.
describeReservedCacheNodesOfferingsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeReservedCacheNodesOfferings operation.public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest request, AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
AmazonElastiCacheAsyncLists available reserved cache node offerings.
describeReservedCacheNodesOfferingsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeReservedCacheNodesOfferings operation.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 AmazonElastiCacheAsyncdescribeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest)public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request)
AmazonElastiCacheAsync
Returns information about cache cluster or replication group 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.
This operation is valid for Redis only.
describeSnapshotsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeSnapshotsMessage operation.public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
AmazonElastiCacheAsync
Returns information about cache cluster or replication group 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.
This operation is valid for Redis only.
describeSnapshotsAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a DescribeSnapshotsMessage operation.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 AmazonElastiCacheAsyncdescribeSnapshotsAsync(DescribeSnapshotsRequest)public Future<DescribeSnapshotsResult> describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
describeSnapshotsAsync in interface AmazonElastiCacheAsyncdescribeSnapshotsAsync(DescribeSnapshotsRequest, com.amazonaws.handlers.AsyncHandler)public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest request)
AmazonElastiCacheAsyncLists 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 operations to scale up
your cluster or replication group, the value of the CacheNodeType parameter must be one of the node
types returned by this operation.
listAllowedNodeTypeModificationsAsync in interface AmazonElastiCacheAsyncrequest - The input parameters for the ListAllowedNodeTypeModifications operation.public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest request, AsyncHandler<ListAllowedNodeTypeModificationsRequest,ListAllowedNodeTypeModificationsResult> asyncHandler)
AmazonElastiCacheAsyncLists 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 operations to scale up
your cluster or replication group, the value of the CacheNodeType parameter must be one of the node
types returned by this operation.
listAllowedNodeTypeModificationsAsync in interface AmazonElastiCacheAsyncrequest - The input parameters for the ListAllowedNodeTypeModifications operation.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 AmazonElastiCacheAsynclistAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest)public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync(AsyncHandler<ListAllowedNodeTypeModificationsRequest,ListAllowedNodeTypeModificationsResult> asyncHandler)
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonElastiCacheAsync
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. You can use cost allocation tags 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 AmazonElastiCacheAsyncrequest - The input parameters for the ListTagsForResource operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonElastiCacheAsync
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. You can use cost allocation tags 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 AmazonElastiCacheAsyncrequest - The input parameters for the ListTagsForResource operation.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)
AmazonElastiCacheAsyncModifies the settings for a cache cluster. You can use this operation to change one or more cluster configuration parameters by specifying the parameters and the new values.
modifyCacheClusterAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a ModifyCacheCluster operation.public Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest request, AsyncHandler<ModifyCacheClusterRequest,CacheCluster> asyncHandler)
AmazonElastiCacheAsyncModifies the settings for a cache cluster. You can use this operation to change one or more cluster configuration parameters by specifying the parameters and the new values.
modifyCacheClusterAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a ModifyCacheCluster operation.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)
AmazonElastiCacheAsyncModifies 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 AmazonElastiCacheAsyncrequest - Represents the input of a ModifyCacheParameterGroup operation.public Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest request, AsyncHandler<ModifyCacheParameterGroupRequest,ModifyCacheParameterGroupResult> asyncHandler)
AmazonElastiCacheAsyncModifies 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 AmazonElastiCacheAsyncrequest - Represents the input of a ModifyCacheParameterGroup operation.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)
AmazonElastiCacheAsyncModifies an existing cache subnet group.
modifyCacheSubnetGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a ModifyCacheSubnetGroup operation.public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest request, AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
AmazonElastiCacheAsyncModifies an existing cache subnet group.
modifyCacheSubnetGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a ModifyCacheSubnetGroup operation.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)
AmazonElastiCacheAsyncModifies the settings for a replication group.
Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups.
This operation is valid for Redis only.
modifyReplicationGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a ModifyReplicationGroups operation.public Future<ReplicationGroup> modifyReplicationGroupAsync(ModifyReplicationGroupRequest request, AsyncHandler<ModifyReplicationGroupRequest,ReplicationGroup> asyncHandler)
AmazonElastiCacheAsyncModifies the settings for a replication group.
Due to current limitations on Redis (cluster mode disabled), this operation or parameter is not supported on Redis (cluster mode enabled) replication groups.
This operation is valid for Redis only.
modifyReplicationGroupAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a ModifyReplicationGroups operation.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)
AmazonElastiCacheAsyncAllows you to purchase a reserved cache node offering.
purchaseReservedCacheNodesOfferingAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a PurchaseReservedCacheNodesOffering operation.public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest request, AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler)
AmazonElastiCacheAsyncAllows you to purchase a reserved cache node offering.
purchaseReservedCacheNodesOfferingAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a PurchaseReservedCacheNodesOffering operation.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)
AmazonElastiCacheAsyncReboots some, or all, of the cache nodes within a provisioned cache cluster. This operation applies any modified cache parameter groups to the cache cluster. The reboot operation 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 AmazonElastiCacheAsyncrequest - Represents the input of a RebootCacheCluster operation.public Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest request, AsyncHandler<RebootCacheClusterRequest,CacheCluster> asyncHandler)
AmazonElastiCacheAsyncReboots some, or all, of the cache nodes within a provisioned cache cluster. This operation applies any modified cache parameter groups to the cache cluster. The reboot operation 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 AmazonElastiCacheAsyncrequest - Represents the input of a RebootCacheCluster operation.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
Removes the tags identified by the TagKeys list from the named resource.
removeTagsFromResourceAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a RemoveTagsFromResource operation.public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest,RemoveTagsFromResourceResult> asyncHandler)
AmazonElastiCacheAsync
Removes the tags identified by the TagKeys list from the named resource.
removeTagsFromResourceAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a RemoveTagsFromResource operation.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
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 AmazonElastiCacheAsyncrequest - Represents the input of a ResetCacheParameterGroup operation.public Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest request, AsyncHandler<ResetCacheParameterGroupRequest,ResetCacheParameterGroupResult> asyncHandler)
AmazonElastiCacheAsync
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 AmazonElastiCacheAsyncrequest - Represents the input of a ResetCacheParameterGroup operation.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)
AmazonElastiCacheAsyncRevokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized.
revokeCacheSecurityGroupIngressAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a RevokeCacheSecurityGroupIngress operation.public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest request, AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
AmazonElastiCacheAsyncRevokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized.
revokeCacheSecurityGroupIngressAsync in interface AmazonElastiCacheAsyncrequest - Represents the input of a RevokeCacheSecurityGroupIngress operation.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 AmazonElastiCacheshutdown in class AmazonElastiCacheClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.