Class AmazonElastiCacheAsyncClient
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceClient
-
- com.amazonaws.services.elasticache.AmazonElastiCacheClient
-
- com.amazonaws.services.elasticache.AmazonElastiCacheAsyncClient
-
- All Implemented Interfaces:
AmazonElastiCache
,AmazonElastiCacheAsync
@ThreadSafe public class AmazonElastiCacheAsyncClient extends AmazonElastiCacheClient implements AmazonElastiCacheAsync
Interface for accessing Amazon ElastiCache asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept anAsyncHandler
can be used to receive notification when an asynchronous operation completes.Amazon ElastiCache Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale a distributed cache in the cloud.
With 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.
-
-
Field Summary
-
Fields inherited from class com.amazonaws.services.elasticache.AmazonElastiCacheClient
configFactory, exceptionUnmarshallers
-
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
-
Constructor Summary
Constructors Constructor 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(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(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(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon ElastiCache.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Future<AddTagsToResourceResult>
addTagsToResourceAsync(AddTagsToResourceRequest request)
The AddTagsToResource action adds up to 10 cost allocation tags to the named resource.Future<AddTagsToResourceResult>
addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest,AddTagsToResourceResult> asyncHandler)
The AddTagsToResource action adds up to 10 cost allocation tags to the named resource.Future<CacheSecurityGroup>
authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest request)
The AuthorizeCacheSecurityGroupIngress action allows network ingress to a cache security group.Future<CacheSecurityGroup>
authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest request, AsyncHandler<AuthorizeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
The AuthorizeCacheSecurityGroupIngress action allows network ingress to a cache security group.Future<Snapshot>
copySnapshotAsync(CopySnapshotRequest request)
The CopySnapshot action makes a copy of an existing snapshot.Future<Snapshot>
copySnapshotAsync(CopySnapshotRequest request, AsyncHandler<CopySnapshotRequest,Snapshot> asyncHandler)
The CopySnapshot action makes a copy of an existing snapshot.Future<CacheCluster>
createCacheClusterAsync(CreateCacheClusterRequest request)
The CreateCacheCluster action creates a cache cluster.Future<CacheCluster>
createCacheClusterAsync(CreateCacheClusterRequest request, AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler)
The CreateCacheCluster action creates a cache cluster.Future<CacheParameterGroup>
createCacheParameterGroupAsync(CreateCacheParameterGroupRequest request)
The CreateCacheParameterGroup action creates a new cache parameter group.Future<CacheParameterGroup>
createCacheParameterGroupAsync(CreateCacheParameterGroupRequest request, AsyncHandler<CreateCacheParameterGroupRequest,CacheParameterGroup> asyncHandler)
The CreateCacheParameterGroup action creates a new cache parameter group.Future<CacheSecurityGroup>
createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest request)
The CreateCacheSecurityGroup action creates a new cache security group.Future<CacheSecurityGroup>
createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest request, AsyncHandler<CreateCacheSecurityGroupRequest,CacheSecurityGroup> asyncHandler)
The CreateCacheSecurityGroup action creates a new cache security group.Future<CacheSubnetGroup>
createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest request)
The CreateCacheSubnetGroup action creates a new cache subnet group.Future<CacheSubnetGroup>
createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest request, AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
The CreateCacheSubnetGroup action creates a new cache subnet group.Future<ReplicationGroup>
createReplicationGroupAsync(CreateReplicationGroupRequest request)
The CreateReplicationGroup action creates a replication group.Future<ReplicationGroup>
createReplicationGroupAsync(CreateReplicationGroupRequest request, AsyncHandler<CreateReplicationGroupRequest,ReplicationGroup> asyncHandler)
The CreateReplicationGroup action creates a replication group.Future<Snapshot>
createSnapshotAsync(CreateSnapshotRequest request)
The CreateSnapshot action creates a copy of an entire cache cluster at a specific moment in time.Future<Snapshot>
createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,Snapshot> asyncHandler)
The CreateSnapshot action creates a copy of an entire cache cluster at a specific moment in time.Future<CacheCluster>
deleteCacheClusterAsync(DeleteCacheClusterRequest request)
The DeleteCacheCluster action deletes a previously provisioned cache cluster.Future<CacheCluster>
deleteCacheClusterAsync(DeleteCacheClusterRequest request, AsyncHandler<DeleteCacheClusterRequest,CacheCluster> asyncHandler)
The DeleteCacheCluster action deletes a previously provisioned cache cluster.Future<DeleteCacheParameterGroupResult>
deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest request)
The DeleteCacheParameterGroup action deletes the specified cache parameter group.Future<DeleteCacheParameterGroupResult>
deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest request, AsyncHandler<DeleteCacheParameterGroupRequest,DeleteCacheParameterGroupResult> asyncHandler)
The DeleteCacheParameterGroup action deletes the specified cache parameter group.Future<DeleteCacheSecurityGroupResult>
deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest request)
The DeleteCacheSecurityGroup action deletes a cache security group.Future<DeleteCacheSecurityGroupResult>
deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest request, AsyncHandler<DeleteCacheSecurityGroupRequest,DeleteCacheSecurityGroupResult> asyncHandler)
The DeleteCacheSecurityGroup action deletes a cache security group.Future<DeleteCacheSubnetGroupResult>
deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest request)
The DeleteCacheSubnetGroup action deletes a cache subnet group.Future<DeleteCacheSubnetGroupResult>
deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest request, AsyncHandler<DeleteCacheSubnetGroupRequest,DeleteCacheSubnetGroupResult> asyncHandler)
The DeleteCacheSubnetGroup action deletes a cache subnet group.Future<ReplicationGroup>
deleteReplicationGroupAsync(DeleteReplicationGroupRequest request)
The DeleteReplicationGroup action deletes an existing replication group.Future<ReplicationGroup>
deleteReplicationGroupAsync(DeleteReplicationGroupRequest request, AsyncHandler<DeleteReplicationGroupRequest,ReplicationGroup> asyncHandler)
The DeleteReplicationGroup action deletes an existing replication group.Future<Snapshot>
deleteSnapshotAsync(DeleteSnapshotRequest request)
The DeleteSnapshot action deletes an existing snapshot.Future<Snapshot>
deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,Snapshot> asyncHandler)
The DeleteSnapshot action deletes an existing snapshot.Future<DescribeCacheClustersResult>
describeCacheClustersAsync()
Simplified method form for invoking the DescribeCacheClusters operation.Future<DescribeCacheClustersResult>
describeCacheClustersAsync(AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
Simplified method form for invoking the DescribeCacheClusters operation with an AsyncHandler.Future<DescribeCacheClustersResult>
describeCacheClustersAsync(DescribeCacheClustersRequest request)
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.Future<DescribeCacheClustersResult>
describeCacheClustersAsync(DescribeCacheClustersRequest request, AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
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.Future<DescribeCacheEngineVersionsResult>
describeCacheEngineVersionsAsync()
Simplified method form for invoking the DescribeCacheEngineVersions operation.Future<DescribeCacheEngineVersionsResult>
describeCacheEngineVersionsAsync(AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
Simplified method form for invoking the DescribeCacheEngineVersions operation with an AsyncHandler.Future<DescribeCacheEngineVersionsResult>
describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest request)
The DescribeCacheEngineVersions action returns a list of the available cache engines and their versions.Future<DescribeCacheEngineVersionsResult>
describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest request, AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
The DescribeCacheEngineVersions action returns a list of the available cache engines and their versions.Future<DescribeCacheParameterGroupsResult>
describeCacheParameterGroupsAsync()
Simplified method form for invoking the DescribeCacheParameterGroups operation.Future<DescribeCacheParameterGroupsResult>
describeCacheParameterGroupsAsync(AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
Simplified method form for invoking the DescribeCacheParameterGroups operation with an AsyncHandler.Future<DescribeCacheParameterGroupsResult>
describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest request)
The DescribeCacheParameterGroups action returns a list of cache parameter group descriptions.Future<DescribeCacheParameterGroupsResult>
describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest request, AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
The DescribeCacheParameterGroups action returns a list of cache parameter group descriptions.Future<DescribeCacheParametersResult>
describeCacheParametersAsync(DescribeCacheParametersRequest request)
The DescribeCacheParameters action returns the detailed parameter list for a particular cache parameter group.Future<DescribeCacheParametersResult>
describeCacheParametersAsync(DescribeCacheParametersRequest request, AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler)
The DescribeCacheParameters action returns the detailed parameter list for a particular cache parameter group.Future<DescribeCacheSecurityGroupsResult>
describeCacheSecurityGroupsAsync()
Simplified method form for invoking the DescribeCacheSecurityGroups operation.Future<DescribeCacheSecurityGroupsResult>
describeCacheSecurityGroupsAsync(AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
Simplified method form for invoking the DescribeCacheSecurityGroups operation with an AsyncHandler.Future<DescribeCacheSecurityGroupsResult>
describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest request)
The DescribeCacheSecurityGroups action returns a list of cache security group descriptions.Future<DescribeCacheSecurityGroupsResult>
describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest request, AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
The DescribeCacheSecurityGroups action returns a list of cache security group descriptions.Future<DescribeCacheSubnetGroupsResult>
describeCacheSubnetGroupsAsync()
Simplified method form for invoking the DescribeCacheSubnetGroups operation.Future<DescribeCacheSubnetGroupsResult>
describeCacheSubnetGroupsAsync(AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
Simplified method form for invoking the DescribeCacheSubnetGroups operation with an AsyncHandler.Future<DescribeCacheSubnetGroupsResult>
describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest request)
The DescribeCacheSubnetGroups action returns a list of cache subnet group descriptions.Future<DescribeCacheSubnetGroupsResult>
describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest request, AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
The DescribeCacheSubnetGroups action returns a list of cache subnet group descriptions.Future<EngineDefaults>
describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest request)
The DescribeEngineDefaultParameters action returns the default engine and system parameter information for the specified cache engine.Future<EngineDefaults>
describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest request, AsyncHandler<DescribeEngineDefaultParametersRequest,EngineDefaults> asyncHandler)
The DescribeEngineDefaultParameters action returns the default engine and system parameter information for the specified cache engine.Future<DescribeEventsResult>
describeEventsAsync()
Simplified method form for invoking the DescribeEvents operation.Future<DescribeEventsResult>
describeEventsAsync(AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
Simplified method form for invoking the DescribeEvents operation with an AsyncHandler.Future<DescribeEventsResult>
describeEventsAsync(DescribeEventsRequest request)
The DescribeEvents action returns events related to cache clusters, cache security groups, and cache parameter groups.Future<DescribeEventsResult>
describeEventsAsync(DescribeEventsRequest request, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
The DescribeEvents action returns events related to cache clusters, cache security groups, and cache parameter groups.Future<DescribeReplicationGroupsResult>
describeReplicationGroupsAsync()
Simplified method form for invoking the DescribeReplicationGroups operation.Future<DescribeReplicationGroupsResult>
describeReplicationGroupsAsync(AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler)
Simplified method form for invoking the DescribeReplicationGroups operation with an AsyncHandler.Future<DescribeReplicationGroupsResult>
describeReplicationGroupsAsync(DescribeReplicationGroupsRequest request)
The DescribeReplicationGroups action returns information about a particular replication group.Future<DescribeReplicationGroupsResult>
describeReplicationGroupsAsync(DescribeReplicationGroupsRequest request, AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler)
The DescribeReplicationGroups action returns information about a particular replication group.Future<DescribeReservedCacheNodesResult>
describeReservedCacheNodesAsync()
Simplified method form for invoking the DescribeReservedCacheNodes operation.Future<DescribeReservedCacheNodesResult>
describeReservedCacheNodesAsync(AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
Simplified method form for invoking the DescribeReservedCacheNodes operation with an AsyncHandler.Future<DescribeReservedCacheNodesResult>
describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest request)
The DescribeReservedCacheNodes action returns information about reserved cache nodes for this account, or about a specified reserved cache node.Future<DescribeReservedCacheNodesResult>
describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest request, AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
The DescribeReservedCacheNodes action returns information about reserved cache nodes for this account, or about a specified reserved cache node.Future<DescribeReservedCacheNodesOfferingsResult>
describeReservedCacheNodesOfferingsAsync()
Simplified method form for invoking the DescribeReservedCacheNodesOfferings operation.Future<DescribeReservedCacheNodesOfferingsResult>
describeReservedCacheNodesOfferingsAsync(AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
Simplified method form for invoking the DescribeReservedCacheNodesOfferings operation with an AsyncHandler.Future<DescribeReservedCacheNodesOfferingsResult>
describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest request)
The DescribeReservedCacheNodesOfferings action lists available reserved cache node offerings.Future<DescribeReservedCacheNodesOfferingsResult>
describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest request, AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
The DescribeReservedCacheNodesOfferings action lists available reserved cache node offerings.Future<DescribeSnapshotsResult>
describeSnapshotsAsync()
Simplified method form for invoking the DescribeSnapshots operation.Future<DescribeSnapshotsResult>
describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Simplified method form for invoking the DescribeSnapshots operation with an AsyncHandler.Future<DescribeSnapshotsResult>
describeSnapshotsAsync(DescribeSnapshotsRequest request)
The DescribeSnapshots action returns information about cache cluster snapshots.Future<DescribeSnapshotsResult>
describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
The DescribeSnapshots action returns information about cache cluster snapshots.ExecutorService
getExecutorService()
Returns the executor service used by this client to execute async requests.Future<ListAllowedNodeTypeModificationsResult>
listAllowedNodeTypeModificationsAsync()
Simplified method form for invoking the ListAllowedNodeTypeModifications operation.Future<ListAllowedNodeTypeModificationsResult>
listAllowedNodeTypeModificationsAsync(AsyncHandler<ListAllowedNodeTypeModificationsRequest,ListAllowedNodeTypeModificationsResult> asyncHandler)
Simplified method form for invoking the ListAllowedNodeTypeModifications operation with an AsyncHandler.Future<ListAllowedNodeTypeModificationsResult>
listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest request)
TheListAllowedNodeTypeModifications
action lists all available node types that you can scale your Redis cluster's or replication group's current node type up to.Future<ListAllowedNodeTypeModificationsResult>
listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest request, AsyncHandler<ListAllowedNodeTypeModificationsRequest,ListAllowedNodeTypeModificationsResult> asyncHandler)
TheListAllowedNodeTypeModifications
action lists all available node types that you can scale your Redis cluster's or replication group's current node type up to.Future<ListTagsForResourceResult>
listTagsForResourceAsync(ListTagsForResourceRequest request)
The ListTagsForResource action lists all cost allocation tags currently on the named resource.Future<ListTagsForResourceResult>
listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
The ListTagsForResource action lists all cost allocation tags currently on the named resource.Future<CacheCluster>
modifyCacheClusterAsync(ModifyCacheClusterRequest request)
The ModifyCacheCluster action modifies the settings for a cache cluster.Future<CacheCluster>
modifyCacheClusterAsync(ModifyCacheClusterRequest request, AsyncHandler<ModifyCacheClusterRequest,CacheCluster> asyncHandler)
The ModifyCacheCluster action modifies the settings for a cache cluster.Future<ModifyCacheParameterGroupResult>
modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest request)
The ModifyCacheParameterGroup action modifies the parameters of a cache parameter group.Future<ModifyCacheParameterGroupResult>
modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest request, AsyncHandler<ModifyCacheParameterGroupRequest,ModifyCacheParameterGroupResult> asyncHandler)
The ModifyCacheParameterGroup action modifies the parameters of a cache parameter group.Future<CacheSubnetGroup>
modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest request)
The ModifyCacheSubnetGroup action modifies an existing cache subnet group.Future<CacheSubnetGroup>
modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest request, AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
The ModifyCacheSubnetGroup action modifies an existing cache subnet group.Future<ReplicationGroup>
modifyReplicationGroupAsync(ModifyReplicationGroupRequest request)
The ModifyReplicationGroup action modifies the settings for a replication group.Future<ReplicationGroup>
modifyReplicationGroupAsync(ModifyReplicationGroupRequest request, AsyncHandler<ModifyReplicationGroupRequest,ReplicationGroup> asyncHandler)
The ModifyReplicationGroup action modifies the settings for a replication group.Future<ReservedCacheNode>
purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest request)
The PurchaseReservedCacheNodesOffering action allows you to purchase a reserved cache node offering.Future<ReservedCacheNode>
purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest request, AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler)
The PurchaseReservedCacheNodesOffering action allows you to purchase a reserved cache node offering.Future<CacheCluster>
rebootCacheClusterAsync(RebootCacheClusterRequest request)
The RebootCacheCluster action reboots some, or all, of the cache nodes within a provisioned cache cluster.Future<CacheCluster>
rebootCacheClusterAsync(RebootCacheClusterRequest request, AsyncHandler<RebootCacheClusterRequest,CacheCluster> asyncHandler)
The RebootCacheCluster action reboots some, or all, of the cache nodes within a provisioned cache cluster.Future<RemoveTagsFromResourceResult>
removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request)
The RemoveTagsFromResource action removes the tags identified by theTagKeys
list from the named resource.Future<RemoveTagsFromResourceResult>
removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest,RemoveTagsFromResourceResult> asyncHandler)
The RemoveTagsFromResource action removes the tags identified by theTagKeys
list from the named resource.Future<ResetCacheParameterGroupResult>
resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest request)
The ResetCacheParameterGroup action modifies the parameters of a cache parameter group to the engine or system default value.Future<ResetCacheParameterGroupResult>
resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest request, AsyncHandler<ResetCacheParameterGroupRequest,ResetCacheParameterGroupResult> asyncHandler)
The ResetCacheParameterGroup action modifies the parameters of a cache parameter group to the engine or system default value.Future<CacheSecurityGroup>
revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest request)
The RevokeCacheSecurityGroupIngress action revokes ingress from a cache security group.Future<CacheSecurityGroup>
revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest request, AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
The RevokeCacheSecurityGroupIngress action revokes ingress from a cache security group.void
shutdown()
Shuts down the client, releasing all managed resources.-
Methods inherited from class com.amazonaws.services.elasticache.AmazonElastiCacheClient
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
-
Methods inherited from class com.amazonaws.AmazonWebServiceClient
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.elasticache.AmazonElastiCache
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
-
-
-
-
Constructor Detail
-
AmazonElastiCacheAsyncClient
public AmazonElastiCacheAsyncClient()
Constructs a new asynchronous client to invoke service methods on Amazon ElastiCache. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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).
-
AmazonElastiCacheAsyncClient
public AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Amazon ElastiCache. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to Amazon ElastiCache (ex: proxy settings, retry counts, etc).- See Also:
DefaultAWSCredentialsProviderChain
,Executors.newFixedThreadPool(int)
-
AmazonElastiCacheAsyncClient
public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Amazon ElastiCache using the specified AWS account credentials.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).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AmazonElastiCacheAsyncClient
public 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. Default client settings will be used.- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.
-
AmazonElastiCacheAsyncClient
public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Amazon ElastiCache using the specified AWS account credentials, executor service, and client configuration options.- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.
-
AmazonElastiCacheAsyncClient
public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on Amazon ElastiCache using the specified AWS account credentials provider. Default client settings will be used.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).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AmazonElastiCacheAsyncClient
public 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.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()
.- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).- See Also:
DefaultAWSCredentialsProviderChain
,Executors.newFixedThreadPool(int)
-
AmazonElastiCacheAsyncClient
public 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. Default client settings will be used.- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.
-
AmazonElastiCacheAsyncClient
public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, 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.- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.
-
-
Method Detail
-
getExecutorService
public ExecutorService getExecutorService()
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
addTagsToResourceAsync
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request)
Description copied from interface: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.
- Specified by:
addTagsToResourceAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of an AddTagsToResource action.- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
-
addTagsToResourceAsync
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest,AddTagsToResourceResult> asyncHandler)
Description copied from interface: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.
- Specified by:
addTagsToResourceAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
-
authorizeCacheSecurityGroupIngressAsync
public Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest request)
Description copied from interface: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. - Specified by:
authorizeCacheSecurityGroupIngressAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of an AuthorizeCacheSecurityGroupIngress action.- Returns:
- A Java Future containing the result of the AuthorizeCacheSecurityGroupIngress operation returned by the service.
-
authorizeCacheSecurityGroupIngressAsync
public Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest request, AsyncHandler<AuthorizeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
Description copied from interface: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. - Specified by:
authorizeCacheSecurityGroupIngressAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the AuthorizeCacheSecurityGroupIngress operation returned by the service.
-
copySnapshotAsync
public Future<Snapshot> copySnapshotAsync(CopySnapshotRequest request)
Description copied from interface:AmazonElastiCacheAsync
The CopySnapshot action makes a copy of an existing snapshot.
- Specified by:
copySnapshotAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a CopySnapshotMessage action.- Returns:
- A Java Future containing the result of the CopySnapshot operation returned by the service.
-
copySnapshotAsync
public Future<Snapshot> copySnapshotAsync(CopySnapshotRequest request, AsyncHandler<CopySnapshotRequest,Snapshot> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The CopySnapshot action makes a copy of an existing snapshot.
- Specified by:
copySnapshotAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CopySnapshot operation returned by the service.
-
createCacheClusterAsync
public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest request)
Description copied from interface: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.
- Specified by:
createCacheClusterAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a CreateCacheCluster action.- Returns:
- A Java Future containing the result of the CreateCacheCluster operation returned by the service.
-
createCacheClusterAsync
public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest request, AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler)
Description copied from interface: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.
- Specified by:
createCacheClusterAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateCacheCluster operation returned by the service.
-
createCacheParameterGroupAsync
public Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest request)
Description copied from interface: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.
- Specified by:
createCacheParameterGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a CreateCacheParameterGroup action.- Returns:
- A Java Future containing the result of the CreateCacheParameterGroup operation returned by the service.
-
createCacheParameterGroupAsync
public Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest request, AsyncHandler<CreateCacheParameterGroupRequest,CacheParameterGroup> asyncHandler)
Description copied from interface: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.
- Specified by:
createCacheParameterGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateCacheParameterGroup operation returned by the service.
-
createCacheSecurityGroupAsync
public Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest request)
Description copied from interface: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.
- Specified by:
createCacheSecurityGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a CreateCacheSecurityGroup action.- Returns:
- A Java Future containing the result of the CreateCacheSecurityGroup operation returned by the service.
-
createCacheSecurityGroupAsync
public Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest request, AsyncHandler<CreateCacheSecurityGroupRequest,CacheSecurityGroup> asyncHandler)
Description copied from interface: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.
- Specified by:
createCacheSecurityGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateCacheSecurityGroup operation returned by the service.
-
createCacheSubnetGroupAsync
public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest request)
Description copied from interface: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).
- Specified by:
createCacheSubnetGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a CreateCacheSubnetGroup action.- Returns:
- A Java Future containing the result of the CreateCacheSubnetGroup operation returned by the service.
-
createCacheSubnetGroupAsync
public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest request, AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
Description copied from interface: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).
- Specified by:
createCacheSubnetGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateCacheSubnetGroup operation returned by the service.
-
createReplicationGroupAsync
public Future<ReplicationGroup> createReplicationGroupAsync(CreateReplicationGroupRequest request)
Description copied from interface: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.
Note: This action is valid only for Redis.
- Specified by:
createReplicationGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a CreateReplicationGroup action.- Returns:
- A Java Future containing the result of the CreateReplicationGroup operation returned by the service.
-
createReplicationGroupAsync
public Future<ReplicationGroup> createReplicationGroupAsync(CreateReplicationGroupRequest request, AsyncHandler<CreateReplicationGroupRequest,ReplicationGroup> asyncHandler)
Description copied from interface: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.
Note: This action is valid only for Redis.
- Specified by:
createReplicationGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateReplicationGroup operation returned by the service.
-
createSnapshotAsync
public Future<Snapshot> createSnapshotAsync(CreateSnapshotRequest request)
Description copied from interface:AmazonElastiCacheAsync
The CreateSnapshot action creates a copy of an entire cache cluster at a specific moment in time.
- Specified by:
createSnapshotAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a CreateSnapshot action.- Returns:
- A Java Future containing the result of the CreateSnapshot operation returned by the service.
-
createSnapshotAsync
public Future<Snapshot> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,Snapshot> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The CreateSnapshot action creates a copy of an entire cache cluster at a specific moment in time.
- Specified by:
createSnapshotAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the CreateSnapshot operation returned by the service.
-
deleteCacheClusterAsync
public Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest request)
Description copied from interface: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.
- Specified by:
deleteCacheClusterAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DeleteCacheCluster action.- Returns:
- A Java Future containing the result of the DeleteCacheCluster operation returned by the service.
-
deleteCacheClusterAsync
public Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest request, AsyncHandler<DeleteCacheClusterRequest,CacheCluster> asyncHandler)
Description copied from interface: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.
- Specified by:
deleteCacheClusterAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteCacheCluster operation returned by the service.
-
deleteCacheParameterGroupAsync
public Future<DeleteCacheParameterGroupResult> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest request)
Description copied from interface: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.
- Specified by:
deleteCacheParameterGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DeleteCacheParameterGroup action.- Returns:
- A Java Future containing the result of the DeleteCacheParameterGroup operation returned by the service.
-
deleteCacheParameterGroupAsync
public Future<DeleteCacheParameterGroupResult> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest request, AsyncHandler<DeleteCacheParameterGroupRequest,DeleteCacheParameterGroupResult> asyncHandler)
Description copied from interface: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.
- Specified by:
deleteCacheParameterGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteCacheParameterGroup operation returned by the service.
-
deleteCacheSecurityGroupAsync
public Future<DeleteCacheSecurityGroupResult> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest request)
Description copied from interface:AmazonElastiCacheAsync
The DeleteCacheSecurityGroup action deletes a cache security group.
You cannot delete a cache security group if it is associated with any cache clusters. - Specified by:
deleteCacheSecurityGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DeleteCacheSecurityGroup action.- Returns:
- A Java Future containing the result of the DeleteCacheSecurityGroup operation returned by the service.
-
deleteCacheSecurityGroupAsync
public Future<DeleteCacheSecurityGroupResult> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest request, AsyncHandler<DeleteCacheSecurityGroupRequest,DeleteCacheSecurityGroupResult> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The DeleteCacheSecurityGroup action deletes a cache security group.
You cannot delete a cache security group if it is associated with any cache clusters. - Specified by:
deleteCacheSecurityGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteCacheSecurityGroup operation returned by the service.
-
deleteCacheSubnetGroupAsync
public Future<DeleteCacheSubnetGroupResult> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest request)
Description copied from interface:AmazonElastiCacheAsync
The DeleteCacheSubnetGroup action deletes a cache subnet group.
You cannot delete a cache subnet group if it is associated with any cache clusters. - Specified by:
deleteCacheSubnetGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DeleteCacheSubnetGroup action.- Returns:
- A Java Future containing the result of the DeleteCacheSubnetGroup operation returned by the service.
-
deleteCacheSubnetGroupAsync
public Future<DeleteCacheSubnetGroupResult> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest request, AsyncHandler<DeleteCacheSubnetGroupRequest,DeleteCacheSubnetGroupResult> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The DeleteCacheSubnetGroup action deletes a cache subnet group.
You cannot delete a cache subnet group if it is associated with any cache clusters. - Specified by:
deleteCacheSubnetGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteCacheSubnetGroup operation returned by the service.
-
deleteReplicationGroupAsync
public Future<ReplicationGroup> deleteReplicationGroupAsync(DeleteReplicationGroupRequest request)
Description copied from interface: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.
- Specified by:
deleteReplicationGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DeleteReplicationGroup action.- Returns:
- A Java Future containing the result of the DeleteReplicationGroup operation returned by the service.
-
deleteReplicationGroupAsync
public Future<ReplicationGroup> deleteReplicationGroupAsync(DeleteReplicationGroupRequest request, AsyncHandler<DeleteReplicationGroupRequest,ReplicationGroup> asyncHandler)
Description copied from interface: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.
- Specified by:
deleteReplicationGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteReplicationGroup operation returned by the service.
-
deleteSnapshotAsync
public Future<Snapshot> deleteSnapshotAsync(DeleteSnapshotRequest request)
Description copied from interface: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.
- Specified by:
deleteSnapshotAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DeleteSnapshot action.- Returns:
- A Java Future containing the result of the DeleteSnapshot operation returned by the service.
-
deleteSnapshotAsync
public Future<Snapshot> deleteSnapshotAsync(DeleteSnapshotRequest request, AsyncHandler<DeleteSnapshotRequest,Snapshot> asyncHandler)
Description copied from interface: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.
- Specified by:
deleteSnapshotAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DeleteSnapshot operation returned by the service.
-
describeCacheClustersAsync
public Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest request)
Description copied from interface: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.
- Specified by:
describeCacheClustersAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeCacheClusters action.- Returns:
- A Java Future containing the result of the DescribeCacheClusters operation returned by the service.
-
describeCacheClustersAsync
public Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest request, AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeCacheClustersAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeCacheClusters operation returned by the service.
-
describeCacheClustersAsync
public Future<DescribeCacheClustersResult> describeCacheClustersAsync()
Simplified method form for invoking the DescribeCacheClusters operation.- Specified by:
describeCacheClustersAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeCacheClustersAsync(DescribeCacheClustersRequest)
-
describeCacheClustersAsync
public Future<DescribeCacheClustersResult> describeCacheClustersAsync(AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
Simplified method form for invoking the DescribeCacheClusters operation with an AsyncHandler.- Specified by:
describeCacheClustersAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeCacheClustersAsync(DescribeCacheClustersRequest, com.amazonaws.handlers.AsyncHandler)
-
describeCacheEngineVersionsAsync
public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest request)
Description copied from interface:AmazonElastiCacheAsync
The DescribeCacheEngineVersions action returns a list of the available cache engines and their versions.
- Specified by:
describeCacheEngineVersionsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeCacheEngineVersions action.- Returns:
- A Java Future containing the result of the DescribeCacheEngineVersions operation returned by the service.
-
describeCacheEngineVersionsAsync
public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest request, AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The DescribeCacheEngineVersions action returns a list of the available cache engines and their versions.
- Specified by:
describeCacheEngineVersionsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeCacheEngineVersions operation returned by the service.
-
describeCacheEngineVersionsAsync
public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync()
Simplified method form for invoking the DescribeCacheEngineVersions operation.- Specified by:
describeCacheEngineVersionsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest)
-
describeCacheEngineVersionsAsync
public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
Simplified method form for invoking the DescribeCacheEngineVersions operation with an AsyncHandler.
-
describeCacheParameterGroupsAsync
public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest request)
Description copied from interface: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.
- Specified by:
describeCacheParameterGroupsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeCacheParameterGroups action.- Returns:
- A Java Future containing the result of the DescribeCacheParameterGroups operation returned by the service.
-
describeCacheParameterGroupsAsync
public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest request, AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeCacheParameterGroupsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeCacheParameterGroups operation returned by the service.
-
describeCacheParameterGroupsAsync
public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync()
Simplified method form for invoking the DescribeCacheParameterGroups operation.- Specified by:
describeCacheParameterGroupsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest)
-
describeCacheParameterGroupsAsync
public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
Simplified method form for invoking the DescribeCacheParameterGroups operation with an AsyncHandler.
-
describeCacheParametersAsync
public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest request)
Description copied from interface:AmazonElastiCacheAsync
The DescribeCacheParameters action returns the detailed parameter list for a particular cache parameter group.
- Specified by:
describeCacheParametersAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeCacheParameters action.- Returns:
- A Java Future containing the result of the DescribeCacheParameters operation returned by the service.
-
describeCacheParametersAsync
public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest request, AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The DescribeCacheParameters action returns the detailed parameter list for a particular cache parameter group.
- Specified by:
describeCacheParametersAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeCacheParameters operation returned by the service.
-
describeCacheSecurityGroupsAsync
public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest request)
Description copied from interface: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.
- Specified by:
describeCacheSecurityGroupsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeCacheSecurityGroups action.- Returns:
- A Java Future containing the result of the DescribeCacheSecurityGroups operation returned by the service.
-
describeCacheSecurityGroupsAsync
public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest request, AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeCacheSecurityGroupsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeCacheSecurityGroups operation returned by the service.
-
describeCacheSecurityGroupsAsync
public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync()
Simplified method form for invoking the DescribeCacheSecurityGroups operation.- Specified by:
describeCacheSecurityGroupsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest)
-
describeCacheSecurityGroupsAsync
public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
Simplified method form for invoking the DescribeCacheSecurityGroups operation with an AsyncHandler.
-
describeCacheSubnetGroupsAsync
public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest request)
Description copied from interface: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.
- Specified by:
describeCacheSubnetGroupsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeCacheSubnetGroups action.- Returns:
- A Java Future containing the result of the DescribeCacheSubnetGroups operation returned by the service.
-
describeCacheSubnetGroupsAsync
public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest request, AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeCacheSubnetGroupsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeCacheSubnetGroups operation returned by the service.
-
describeCacheSubnetGroupsAsync
public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync()
Simplified method form for invoking the DescribeCacheSubnetGroups operation.- Specified by:
describeCacheSubnetGroupsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest)
-
describeCacheSubnetGroupsAsync
public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
Simplified method form for invoking the DescribeCacheSubnetGroups operation with an AsyncHandler.- Specified by:
describeCacheSubnetGroupsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeEngineDefaultParametersAsync
public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest request)
Description copied from interface:AmazonElastiCacheAsync
The DescribeEngineDefaultParameters action returns the default engine and system parameter information for the specified cache engine.
- Specified by:
describeEngineDefaultParametersAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeEngineDefaultParameters action.- Returns:
- A Java Future containing the result of the DescribeEngineDefaultParameters operation returned by the service.
-
describeEngineDefaultParametersAsync
public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest request, AsyncHandler<DescribeEngineDefaultParametersRequest,EngineDefaults> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The DescribeEngineDefaultParameters action returns the default engine and system parameter information for the specified cache engine.
- Specified by:
describeEngineDefaultParametersAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeEngineDefaultParameters operation returned by the service.
-
describeEventsAsync
public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request)
Description copied from interface: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.
- Specified by:
describeEventsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeEvents action.- Returns:
- A Java Future containing the result of the DescribeEvents operation returned by the service.
-
describeEventsAsync
public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeEventsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeEvents operation returned by the service.
-
describeEventsAsync
public Future<DescribeEventsResult> describeEventsAsync()
Simplified method form for invoking the DescribeEvents operation.- Specified by:
describeEventsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeEventsAsync(DescribeEventsRequest)
-
describeEventsAsync
public Future<DescribeEventsResult> describeEventsAsync(AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
Simplified method form for invoking the DescribeEvents operation with an AsyncHandler.- Specified by:
describeEventsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeEventsAsync(DescribeEventsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeReplicationGroupsAsync
public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(DescribeReplicationGroupsRequest request)
Description copied from interface:AmazonElastiCacheAsync
The DescribeReplicationGroups action returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
- Specified by:
describeReplicationGroupsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeReplicationGroups action.- Returns:
- A Java Future containing the result of the DescribeReplicationGroups operation returned by the service.
-
describeReplicationGroupsAsync
public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(DescribeReplicationGroupsRequest request, AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The DescribeReplicationGroups action returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
- Specified by:
describeReplicationGroupsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeReplicationGroups operation returned by the service.
-
describeReplicationGroupsAsync
public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync()
Simplified method form for invoking the DescribeReplicationGroups operation.- Specified by:
describeReplicationGroupsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeReplicationGroupsAsync(DescribeReplicationGroupsRequest)
-
describeReplicationGroupsAsync
public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler)
Simplified method form for invoking the DescribeReplicationGroups operation with an AsyncHandler.- Specified by:
describeReplicationGroupsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeReplicationGroupsAsync(DescribeReplicationGroupsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeReservedCacheNodesAsync
public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest request)
Description copied from interface:AmazonElastiCacheAsync
The DescribeReservedCacheNodes action returns information about reserved cache nodes for this account, or about a specified reserved cache node.
- Specified by:
describeReservedCacheNodesAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeReservedCacheNodes action.- Returns:
- A Java Future containing the result of the DescribeReservedCacheNodes operation returned by the service.
-
describeReservedCacheNodesAsync
public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest request, AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The DescribeReservedCacheNodes action returns information about reserved cache nodes for this account, or about a specified reserved cache node.
- Specified by:
describeReservedCacheNodesAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeReservedCacheNodes operation returned by the service.
-
describeReservedCacheNodesAsync
public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync()
Simplified method form for invoking the DescribeReservedCacheNodes operation.- Specified by:
describeReservedCacheNodesAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest)
-
describeReservedCacheNodesAsync
public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
Simplified method form for invoking the DescribeReservedCacheNodes operation with an AsyncHandler.- Specified by:
describeReservedCacheNodesAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest, com.amazonaws.handlers.AsyncHandler)
-
describeReservedCacheNodesOfferingsAsync
public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest request)
Description copied from interface:AmazonElastiCacheAsync
The DescribeReservedCacheNodesOfferings action lists available reserved cache node offerings.
- Specified by:
describeReservedCacheNodesOfferingsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeReservedCacheNodesOfferings action.- Returns:
- A Java Future containing the result of the DescribeReservedCacheNodesOfferings operation returned by the service.
-
describeReservedCacheNodesOfferingsAsync
public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest request, AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The DescribeReservedCacheNodesOfferings action lists available reserved cache node offerings.
- Specified by:
describeReservedCacheNodesOfferingsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeReservedCacheNodesOfferings operation returned by the service.
-
describeReservedCacheNodesOfferingsAsync
public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync()
Simplified method form for invoking the DescribeReservedCacheNodesOfferings operation.- Specified by:
describeReservedCacheNodesOfferingsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest)
-
describeReservedCacheNodesOfferingsAsync
public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
Simplified method form for invoking the DescribeReservedCacheNodesOfferings operation with an AsyncHandler.
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request)
Description copied from interface: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.
- Specified by:
describeSnapshotsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a DescribeSnapshotsMessage action.- Returns:
- A Java Future containing the result of the DescribeSnapshots operation returned by the service.
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest request, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Description copied from interface: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.
- Specified by:
describeSnapshotsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the DescribeSnapshots operation returned by the service.
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync()
Simplified method form for invoking the DescribeSnapshots operation.- Specified by:
describeSnapshotsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeSnapshotsAsync(DescribeSnapshotsRequest)
-
describeSnapshotsAsync
public Future<DescribeSnapshotsResult> describeSnapshotsAsync(AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
Simplified method form for invoking the DescribeSnapshots operation with an AsyncHandler.- Specified by:
describeSnapshotsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
describeSnapshotsAsync(DescribeSnapshotsRequest, com.amazonaws.handlers.AsyncHandler)
-
listAllowedNodeTypeModificationsAsync
public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest request)
Description copied from interface: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
orModifyReplicationGroup
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.- Specified by:
listAllowedNodeTypeModificationsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- The input parameters for the ListAllowedNodeTypeModifications action.- Returns:
- A Java Future containing the result of the ListAllowedNodeTypeModifications operation returned by the service.
-
listAllowedNodeTypeModificationsAsync
public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest request, AsyncHandler<ListAllowedNodeTypeModificationsRequest,ListAllowedNodeTypeModificationsResult> asyncHandler)
Description copied from interface: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
orModifyReplicationGroup
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.- Specified by:
listAllowedNodeTypeModificationsAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListAllowedNodeTypeModifications operation returned by the service.
-
listAllowedNodeTypeModificationsAsync
public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync()
Simplified method form for invoking the ListAllowedNodeTypeModifications operation.- Specified by:
listAllowedNodeTypeModificationsAsync
in interfaceAmazonElastiCacheAsync
- See Also:
listAllowedNodeTypeModificationsAsync(ListAllowedNodeTypeModificationsRequest)
-
listAllowedNodeTypeModificationsAsync
public Future<ListAllowedNodeTypeModificationsResult> listAllowedNodeTypeModificationsAsync(AsyncHandler<ListAllowedNodeTypeModificationsRequest,ListAllowedNodeTypeModificationsResult> asyncHandler)
Simplified method form for invoking the ListAllowedNodeTypeModifications operation with an AsyncHandler.
-
listTagsForResourceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
Description copied from interface: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.
- Specified by:
listTagsForResourceAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- The input parameters for the ListTagsForResource action.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
listTagsForResourceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Description copied from interface: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.
- Specified by:
listTagsForResourceAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
modifyCacheClusterAsync
public Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest request)
Description copied from interface: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.
- Specified by:
modifyCacheClusterAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a ModifyCacheCluster action.- Returns:
- A Java Future containing the result of the ModifyCacheCluster operation returned by the service.
-
modifyCacheClusterAsync
public Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest request, AsyncHandler<ModifyCacheClusterRequest,CacheCluster> asyncHandler)
Description copied from interface: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.
- Specified by:
modifyCacheClusterAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ModifyCacheCluster operation returned by the service.
-
modifyCacheParameterGroupAsync
public Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest request)
Description copied from interface: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.
- Specified by:
modifyCacheParameterGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a ModifyCacheParameterGroup action.- Returns:
- A Java Future containing the result of the ModifyCacheParameterGroup operation returned by the service.
-
modifyCacheParameterGroupAsync
public Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest request, AsyncHandler<ModifyCacheParameterGroupRequest,ModifyCacheParameterGroupResult> asyncHandler)
Description copied from interface: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.
- Specified by:
modifyCacheParameterGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ModifyCacheParameterGroup operation returned by the service.
-
modifyCacheSubnetGroupAsync
public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest request)
Description copied from interface:AmazonElastiCacheAsync
The ModifyCacheSubnetGroup action modifies an existing cache subnet group.
- Specified by:
modifyCacheSubnetGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a ModifyCacheSubnetGroup action.- Returns:
- A Java Future containing the result of the ModifyCacheSubnetGroup operation returned by the service.
-
modifyCacheSubnetGroupAsync
public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest request, AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The ModifyCacheSubnetGroup action modifies an existing cache subnet group.
- Specified by:
modifyCacheSubnetGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ModifyCacheSubnetGroup operation returned by the service.
-
modifyReplicationGroupAsync
public Future<ReplicationGroup> modifyReplicationGroupAsync(ModifyReplicationGroupRequest request)
Description copied from interface:AmazonElastiCacheAsync
The ModifyReplicationGroup action modifies the settings for a replication group.
- Specified by:
modifyReplicationGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a ModifyReplicationGroups action.- Returns:
- A Java Future containing the result of the ModifyReplicationGroup operation returned by the service.
-
modifyReplicationGroupAsync
public Future<ReplicationGroup> modifyReplicationGroupAsync(ModifyReplicationGroupRequest request, AsyncHandler<ModifyReplicationGroupRequest,ReplicationGroup> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The ModifyReplicationGroup action modifies the settings for a replication group.
- Specified by:
modifyReplicationGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ModifyReplicationGroup operation returned by the service.
-
purchaseReservedCacheNodesOfferingAsync
public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest request)
Description copied from interface:AmazonElastiCacheAsync
The PurchaseReservedCacheNodesOffering action allows you to purchase a reserved cache node offering.
- Specified by:
purchaseReservedCacheNodesOfferingAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a PurchaseReservedCacheNodesOffering action.- Returns:
- A Java Future containing the result of the PurchaseReservedCacheNodesOffering operation returned by the service.
-
purchaseReservedCacheNodesOfferingAsync
public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest request, AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The PurchaseReservedCacheNodesOffering action allows you to purchase a reserved cache node offering.
- Specified by:
purchaseReservedCacheNodesOfferingAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the PurchaseReservedCacheNodesOffering operation returned by the service.
-
rebootCacheClusterAsync
public Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest request)
Description copied from interface: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.
- Specified by:
rebootCacheClusterAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a RebootCacheCluster action.- Returns:
- A Java Future containing the result of the RebootCacheCluster operation returned by the service.
-
rebootCacheClusterAsync
public Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest request, AsyncHandler<RebootCacheClusterRequest,CacheCluster> asyncHandler)
Description copied from interface: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.
- Specified by:
rebootCacheClusterAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the RebootCacheCluster operation returned by the service.
-
removeTagsFromResourceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request)
Description copied from interface:AmazonElastiCacheAsync
The RemoveTagsFromResource action removes the tags identified by the
TagKeys
list from the named resource.- Specified by:
removeTagsFromResourceAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a RemoveTagsFromResource action.- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
-
removeTagsFromResourceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest,RemoveTagsFromResourceResult> asyncHandler)
Description copied from interface:AmazonElastiCacheAsync
The RemoveTagsFromResource action removes the tags identified by the
TagKeys
list from the named resource.- Specified by:
removeTagsFromResourceAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
-
resetCacheParameterGroupAsync
public Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest request)
Description copied from interface: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.
- Specified by:
resetCacheParameterGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a ResetCacheParameterGroup action.- Returns:
- A Java Future containing the result of the ResetCacheParameterGroup operation returned by the service.
-
resetCacheParameterGroupAsync
public Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest request, AsyncHandler<ResetCacheParameterGroupRequest,ResetCacheParameterGroupResult> asyncHandler)
Description copied from interface: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.
- Specified by:
resetCacheParameterGroupAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the ResetCacheParameterGroup operation returned by the service.
-
revokeCacheSecurityGroupIngressAsync
public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest request)
Description copied from interface: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.
- Specified by:
revokeCacheSecurityGroupIngressAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
request
- Represents the input of a RevokeCacheSecurityGroupIngress action.- Returns:
- A Java Future containing the result of the RevokeCacheSecurityGroupIngress operation returned by the service.
-
revokeCacheSecurityGroupIngressAsync
public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest request, AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
Description copied from interface: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.
- Specified by:
revokeCacheSecurityGroupIngressAsync
in interfaceAmazonElastiCacheAsync
- Parameters:
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.- Returns:
- A Java Future containing the result of the RevokeCacheSecurityGroupIngress operation returned by the service.
-
shutdown
public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAmazonElastiCache
- Overrides:
shutdown
in classAmazonWebServiceClient
-
-