public class AmazonElastiCacheAsyncClient extends AmazonElastiCacheClient implements AmazonElastiCacheAsync
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 set-up, scaling, and cluster failure handling much simpler than in a self-managed cache deployment.
In addition, through integration with Amazon CloudWatch, customers get enhanced visibility into the key performance statistics associated with their cache and can receive alarms if a part of their cache runs hot.
exceptionUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AmazonElastiCacheAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AmazonElastiCache.
|
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AmazonElastiCache using the specified AWS account credentials.
|
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonElastiCache using the specified AWS account credentials,
executor service, and client configuration options.
|
AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonElastiCache using the specified AWS account credentials
and executor service.
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AmazonElastiCache using the specified AWS account credentials provider.
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonElastiCache using the specified AWS account credentials
provider and client configuration options.
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonElastiCache using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonElastiCache using the specified AWS account credentials provider
and executor service.
|
AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonElastiCache.
|
Modifier and Type | Method and Description |
---|---|
Future<CacheSecurityGroup> |
authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest)
The AuthorizeCacheSecurityGroupIngress operation allows
network ingress to a cache security group.
|
Future<CacheSecurityGroup> |
authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest,
AsyncHandler<AuthorizeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
The AuthorizeCacheSecurityGroupIngress operation allows
network ingress to a cache security group.
|
Future<Snapshot> |
copySnapshotAsync(CopySnapshotRequest copySnapshotRequest)
The CopySnapshot operation makes a copy of an existing
snapshot.
|
Future<Snapshot> |
copySnapshotAsync(CopySnapshotRequest copySnapshotRequest,
AsyncHandler<CopySnapshotRequest,Snapshot> asyncHandler)
The CopySnapshot operation makes a copy of an existing
snapshot.
|
Future<CacheCluster> |
createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest)
The CreateCacheCluster operation creates a new cache cluster.
|
Future<CacheCluster> |
createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest,
AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler)
The CreateCacheCluster operation creates a new cache cluster.
|
Future<CacheParameterGroup> |
createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest)
The CreateCacheParameterGroup operation creates a new cache
parameter group.
|
Future<CacheParameterGroup> |
createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest,
AsyncHandler<CreateCacheParameterGroupRequest,CacheParameterGroup> asyncHandler)
The CreateCacheParameterGroup operation creates a new cache
parameter group.
|
Future<CacheSecurityGroup> |
createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest)
The CreateCacheSecurityGroup operation creates a new cache
security group.
|
Future<CacheSecurityGroup> |
createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest,
AsyncHandler<CreateCacheSecurityGroupRequest,CacheSecurityGroup> asyncHandler)
The CreateCacheSecurityGroup operation creates a new cache
security group.
|
Future<CacheSubnetGroup> |
createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest)
The CreateCacheSubnetGroup operation creates a new cache
subnet group.
|
Future<CacheSubnetGroup> |
createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest,
AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
The CreateCacheSubnetGroup operation creates a new cache
subnet group.
|
Future<ReplicationGroup> |
createReplicationGroupAsync(CreateReplicationGroupRequest createReplicationGroupRequest)
The CreateReplicationGroup operation creates a replication
group.
|
Future<ReplicationGroup> |
createReplicationGroupAsync(CreateReplicationGroupRequest createReplicationGroupRequest,
AsyncHandler<CreateReplicationGroupRequest,ReplicationGroup> asyncHandler)
The CreateReplicationGroup operation creates a replication
group.
|
Future<Snapshot> |
createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest)
The CreateSnapshot operation creates a copy of an entire cache
cluster at a specific moment in time.
|
Future<Snapshot> |
createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest,
AsyncHandler<CreateSnapshotRequest,Snapshot> asyncHandler)
The CreateSnapshot operation creates a copy of an entire cache
cluster at a specific moment in time.
|
Future<CacheCluster> |
deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest)
The DeleteCacheCluster operation deletes a previously
provisioned cache cluster.
|
Future<CacheCluster> |
deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest,
AsyncHandler<DeleteCacheClusterRequest,CacheCluster> asyncHandler)
The DeleteCacheCluster operation deletes a previously
provisioned cache cluster.
|
Future<Void> |
deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest)
The DeleteCacheParameterGroup operation deletes the specified
cache parameter group.
|
Future<Void> |
deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest,
AsyncHandler<DeleteCacheParameterGroupRequest,Void> asyncHandler)
The DeleteCacheParameterGroup operation deletes the specified
cache parameter group.
|
Future<Void> |
deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest)
The DeleteCacheSecurityGroup operation deletes a cache
security group.
|
Future<Void> |
deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest,
AsyncHandler<DeleteCacheSecurityGroupRequest,Void> asyncHandler)
The DeleteCacheSecurityGroup operation deletes a cache
security group.
|
Future<Void> |
deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest)
The DeleteCacheSubnetGroup operation deletes a cache subnet
group.
|
Future<Void> |
deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest,
AsyncHandler<DeleteCacheSubnetGroupRequest,Void> asyncHandler)
The DeleteCacheSubnetGroup operation deletes a cache subnet
group.
|
Future<ReplicationGroup> |
deleteReplicationGroupAsync(DeleteReplicationGroupRequest deleteReplicationGroupRequest)
The DeleteReplicationGroup operation deletes an existing
replication group.
|
Future<ReplicationGroup> |
deleteReplicationGroupAsync(DeleteReplicationGroupRequest deleteReplicationGroupRequest,
AsyncHandler<DeleteReplicationGroupRequest,ReplicationGroup> asyncHandler)
The DeleteReplicationGroup operation deletes an existing
replication group.
|
Future<Snapshot> |
deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest)
The DeleteSnapshot operation deletes an existing snapshot.
|
Future<Snapshot> |
deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest,
AsyncHandler<DeleteSnapshotRequest,Snapshot> asyncHandler)
The DeleteSnapshot operation deletes an existing snapshot.
|
Future<DescribeCacheClustersResult> |
describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest)
The DescribeCacheClusters operation returns information about
all provisioned cache clusters if no cache cluster identifier is
specified, or about a specific cache cluster if a cache cluster
identifier is supplied.
|
Future<DescribeCacheClustersResult> |
describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest,
AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler)
The DescribeCacheClusters operation returns information about
all provisioned cache clusters if no cache cluster identifier is
specified, or about a specific cache cluster if a cache cluster
identifier is supplied.
|
Future<DescribeCacheEngineVersionsResult> |
describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest)
The DescribeCacheEngineVersions operation returns a list of
the available cache engines and their versions.
|
Future<DescribeCacheEngineVersionsResult> |
describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest,
AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler)
The DescribeCacheEngineVersions operation returns a list of
the available cache engines and their versions.
|
Future<DescribeCacheParameterGroupsResult> |
describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest)
The DescribeCacheParameterGroups operation returns a list of
cache parameter group descriptions.
|
Future<DescribeCacheParameterGroupsResult> |
describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest,
AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler)
The DescribeCacheParameterGroups operation returns a list of
cache parameter group descriptions.
|
Future<DescribeCacheParametersResult> |
describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest)
The DescribeCacheParameters operation returns the detailed
parameter list for a particular cache parameter group.
|
Future<DescribeCacheParametersResult> |
describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest,
AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler)
The DescribeCacheParameters operation returns the detailed
parameter list for a particular cache parameter group.
|
Future<DescribeCacheSecurityGroupsResult> |
describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest)
The DescribeCacheSecurityGroups operation returns a list of
cache security group descriptions.
|
Future<DescribeCacheSecurityGroupsResult> |
describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest,
AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler)
The DescribeCacheSecurityGroups operation returns a list of
cache security group descriptions.
|
Future<DescribeCacheSubnetGroupsResult> |
describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest)
The DescribeCacheSubnetGroups operation returns a list of
cache subnet group descriptions.
|
Future<DescribeCacheSubnetGroupsResult> |
describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest,
AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler)
The DescribeCacheSubnetGroups operation returns a list of
cache subnet group descriptions.
|
Future<EngineDefaults> |
describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest)
The DescribeEngineDefaultParameters operation returns the
default engine and system parameter information for the specified
cache engine.
|
Future<EngineDefaults> |
describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest,
AsyncHandler<DescribeEngineDefaultParametersRequest,EngineDefaults> asyncHandler)
The DescribeEngineDefaultParameters operation returns the
default engine and system parameter information for the specified
cache engine.
|
Future<DescribeEventsResult> |
describeEventsAsync(DescribeEventsRequest describeEventsRequest)
The DescribeEvents operation returns events related to cache
clusters, cache security groups, and cache parameter groups.
|
Future<DescribeEventsResult> |
describeEventsAsync(DescribeEventsRequest describeEventsRequest,
AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
The DescribeEvents operation returns events related to cache
clusters, cache security groups, and cache parameter groups.
|
Future<DescribeReplicationGroupsResult> |
describeReplicationGroupsAsync(DescribeReplicationGroupsRequest describeReplicationGroupsRequest)
The DescribeReplicationGroups operation returns information
about a particular replication group.
|
Future<DescribeReplicationGroupsResult> |
describeReplicationGroupsAsync(DescribeReplicationGroupsRequest describeReplicationGroupsRequest,
AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler)
The DescribeReplicationGroups operation returns information
about a particular replication group.
|
Future<DescribeReservedCacheNodesResult> |
describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest)
The DescribeReservedCacheNodes operation returns information
about reserved cache nodes for this account, or about a specified
reserved cache node.
|
Future<DescribeReservedCacheNodesResult> |
describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest,
AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler)
The DescribeReservedCacheNodes operation returns information
about reserved cache nodes for this account, or about a specified
reserved cache node.
|
Future<DescribeReservedCacheNodesOfferingsResult> |
describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest)
The DescribeReservedCacheNodesOfferings operation lists
available reserved cache node offerings.
|
Future<DescribeReservedCacheNodesOfferingsResult> |
describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest,
AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler)
The DescribeReservedCacheNodesOfferings operation lists
available reserved cache node offerings.
|
Future<DescribeSnapshotsResult> |
describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest)
The DescribeSnapshots operation returns information about
cache cluster snapshots.
|
Future<DescribeSnapshotsResult> |
describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest,
AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler)
The DescribeSnapshots operation returns information about
cache cluster snapshots.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute
requests.
|
Future<CacheCluster> |
modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest)
The ModifyCacheCluster operation modifies the settings for a
cache cluster.
|
Future<CacheCluster> |
modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest,
AsyncHandler<ModifyCacheClusterRequest,CacheCluster> asyncHandler)
The ModifyCacheCluster operation modifies the settings for a
cache cluster.
|
Future<ModifyCacheParameterGroupResult> |
modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest)
The ModifyCacheParameterGroup operation modifies the
parameters of a cache parameter group.
|
Future<ModifyCacheParameterGroupResult> |
modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest,
AsyncHandler<ModifyCacheParameterGroupRequest,ModifyCacheParameterGroupResult> asyncHandler)
The ModifyCacheParameterGroup operation modifies the
parameters of a cache parameter group.
|
Future<CacheSubnetGroup> |
modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest)
The ModifyCacheSubnetGroup operation modifies an existing
cache subnet group.
|
Future<CacheSubnetGroup> |
modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest,
AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler)
The ModifyCacheSubnetGroup operation modifies an existing
cache subnet group.
|
Future<ReplicationGroup> |
modifyReplicationGroupAsync(ModifyReplicationGroupRequest modifyReplicationGroupRequest)
The ModifyReplicationGroup operation modifies the settings for
a replication group.
|
Future<ReplicationGroup> |
modifyReplicationGroupAsync(ModifyReplicationGroupRequest modifyReplicationGroupRequest,
AsyncHandler<ModifyReplicationGroupRequest,ReplicationGroup> asyncHandler)
The ModifyReplicationGroup operation modifies the settings for
a replication group.
|
Future<ReservedCacheNode> |
purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest)
The PurchaseReservedCacheNodesOffering operation allows you to
purchase a reserved cache node offering.
|
Future<ReservedCacheNode> |
purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest,
AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler)
The PurchaseReservedCacheNodesOffering operation allows you to
purchase a reserved cache node offering.
|
Future<CacheCluster> |
rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest)
The RebootCacheCluster operation reboots some, or all, of the
cache nodes within a provisioned cache cluster.
|
Future<CacheCluster> |
rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest,
AsyncHandler<RebootCacheClusterRequest,CacheCluster> asyncHandler)
The RebootCacheCluster operation reboots some, or all, of the
cache nodes within a provisioned cache cluster.
|
Future<ResetCacheParameterGroupResult> |
resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest)
The ResetCacheParameterGroup operation modifies the parameters
of a cache parameter group to the engine or system default value.
|
Future<ResetCacheParameterGroupResult> |
resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest,
AsyncHandler<ResetCacheParameterGroupRequest,ResetCacheParameterGroupResult> asyncHandler)
The ResetCacheParameterGroup operation modifies the parameters
of a cache parameter group to the engine or system default value.
|
Future<CacheSecurityGroup> |
revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest)
The RevokeCacheSecurityGroupIngress operation revokes ingress
from a cache security group.
|
Future<CacheSecurityGroup> |
revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest,
AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler)
The RevokeCacheSecurityGroupIngress operation revokes ingress
from a cache security group.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
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, modifyCacheCluster, modifyCacheParameterGroup, modifyCacheSubnetGroup, modifyReplicationGroup, purchaseReservedCacheNodesOffering, rebootCacheCluster, resetCacheParameterGroup, revokeCacheSecurityGroupIngress
addRequestHandler, addRequestHandler, configSigner, configSigner, convertToHttpRequest, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setConfiguration, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, modifyCacheCluster, modifyCacheParameterGroup, modifyCacheSubnetGroup, modifyReplicationGroup, purchaseReservedCacheNodesOffering, rebootCacheCluster, resetCacheParameterGroup, revokeCacheSecurityGroupIngress, setEndpoint, setRegion
public AmazonElastiCacheAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AmazonElastiCacheAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AmazonElastiCache
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonElastiCacheAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).public AmazonElastiCacheAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AmazonElastiCache
shutdown
in class AmazonWebServiceClient
public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest) throws AmazonServiceException, AmazonClientException
The DescribeReservedCacheNodes operation returns information about reserved cache nodes for this account, or about a specified reserved cache node.
describeReservedCacheNodesAsync
in interface AmazonElastiCacheAsync
describeReservedCacheNodesRequest
- Container for the necessary
parameters to execute the DescribeReservedCacheNodes operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest, AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeReservedCacheNodes operation returns information about reserved cache nodes for this account, or about a specified reserved cache node.
describeReservedCacheNodesAsync
in interface AmazonElastiCacheAsync
describeReservedCacheNodesRequest
- Container for the necessary
parameters to execute the DescribeReservedCacheNodes operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(DescribeReplicationGroupsRequest describeReplicationGroupsRequest) throws AmazonServiceException, AmazonClientException
The DescribeReplicationGroups operation returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
describeReplicationGroupsAsync
in interface AmazonElastiCacheAsync
describeReplicationGroupsRequest
- Container for the necessary
parameters to execute the DescribeReplicationGroups operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReplicationGroupsResult> describeReplicationGroupsAsync(DescribeReplicationGroupsRequest describeReplicationGroupsRequest, AsyncHandler<DescribeReplicationGroupsRequest,DescribeReplicationGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeReplicationGroups operation returns information about a particular replication group. If no identifier is specified, DescribeReplicationGroups returns information about all replication groups.
describeReplicationGroupsAsync
in interface AmazonElastiCacheAsync
describeReplicationGroupsRequest
- Container for the necessary
parameters to execute the DescribeReplicationGroups operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest) throws AmazonServiceException, AmazonClientException
The DescribeCacheSecurityGroups operation returns a list of cache security group descriptions. If a cache security group name is specified, the list will contain only the description of that group.
describeCacheSecurityGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheSecurityGroupsRequest
- Container for the necessary
parameters to execute the DescribeCacheSecurityGroups operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest, AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeCacheSecurityGroups operation returns a list of cache security group descriptions. If a cache security group name is specified, the list will contain only the description of that group.
describeCacheSecurityGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheSecurityGroupsRequest
- Container for the necessary
parameters to execute the DescribeCacheSecurityGroups operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest) throws AmazonServiceException, AmazonClientException
The DeleteCacheSecurityGroup operation deletes a cache security group.
NOTE:You cannot delete a cache security group if it is associated with any cache clusters.
deleteCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
deleteCacheSecurityGroupRequest
- Container for the necessary
parameters to execute the DeleteCacheSecurityGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest, AsyncHandler<DeleteCacheSecurityGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeleteCacheSecurityGroup operation deletes a cache security group.
NOTE:You cannot delete a cache security group if it is associated with any cache clusters.
deleteCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
deleteCacheSecurityGroupRequest
- Container for the necessary
parameters to execute the DeleteCacheSecurityGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Snapshot> copySnapshotAsync(CopySnapshotRequest copySnapshotRequest) throws AmazonServiceException, AmazonClientException
The CopySnapshot operation makes a copy of an existing snapshot.
copySnapshotAsync
in interface AmazonElastiCacheAsync
copySnapshotRequest
- Container for the necessary parameters to
execute the CopySnapshot operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Snapshot> copySnapshotAsync(CopySnapshotRequest copySnapshotRequest, AsyncHandler<CopySnapshotRequest,Snapshot> asyncHandler) throws AmazonServiceException, AmazonClientException
The CopySnapshot operation makes a copy of an existing snapshot.
copySnapshotAsync
in interface AmazonElastiCacheAsync
copySnapshotRequest
- Container for the necessary parameters to
execute the CopySnapshot operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest) throws AmazonServiceException, AmazonClientException
The DeleteCacheParameterGroup operation deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.
deleteCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
deleteCacheParameterGroupRequest
- Container for the necessary
parameters to execute the DeleteCacheParameterGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest, AsyncHandler<DeleteCacheParameterGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeleteCacheParameterGroup operation deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters.
deleteCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
deleteCacheParameterGroupRequest
- Container for the necessary
parameters to execute the DeleteCacheParameterGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest) throws AmazonServiceException, AmazonClientException
The ResetCacheParameterGroup operation modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.
resetCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
resetCacheParameterGroupRequest
- Container for the necessary
parameters to execute the ResetCacheParameterGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest, AsyncHandler<ResetCacheParameterGroupRequest,ResetCacheParameterGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ResetCacheParameterGroup operation modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.
resetCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
resetCacheParameterGroupRequest
- Container for the necessary
parameters to execute the ResetCacheParameterGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest) throws AmazonServiceException, AmazonClientException
The CreateCacheSecurityGroup operation 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 cluster outside of an Amazon Virtual Private Cloud (VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup .
createCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
createCacheSecurityGroupRequest
- Container for the necessary
parameters to execute the CreateCacheSecurityGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest, AsyncHandler<CreateCacheSecurityGroupRequest,CacheSecurityGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreateCacheSecurityGroup operation 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 cluster outside of an Amazon Virtual Private Cloud (VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup .
createCacheSecurityGroupAsync
in interface AmazonElastiCacheAsync
createCacheSecurityGroupRequest
- Container for the necessary
parameters to execute the CreateCacheSecurityGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest) throws AmazonServiceException, AmazonClientException
The DescribeCacheSubnetGroups operation returns a list of cache subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
describeCacheSubnetGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheSubnetGroupsRequest
- Container for the necessary
parameters to execute the DescribeCacheSubnetGroups operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest, AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeCacheSubnetGroups operation returns a list of cache subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
describeCacheSubnetGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheSubnetGroupsRequest
- Container for the necessary
parameters to execute the DescribeCacheSubnetGroups operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest) throws AmazonServiceException, AmazonClientException
The DeleteCacheCluster operation deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation.
deleteCacheClusterAsync
in interface AmazonElastiCacheAsync
deleteCacheClusterRequest
- Container for the necessary
parameters to execute the DeleteCacheCluster operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest, AsyncHandler<DeleteCacheClusterRequest,CacheCluster> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeleteCacheCluster operation deletes a previously provisioned cache cluster. DeleteCacheCluster deletes all associated cache nodes, node endpoints and the cache cluster itself. When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the cache cluster; you cannot cancel or revert this operation.
deleteCacheClusterAsync
in interface AmazonElastiCacheAsync
deleteCacheClusterRequest
- Container for the necessary
parameters to execute the DeleteCacheCluster operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest) throws AmazonServiceException, AmazonClientException
The CreateCacheCluster operation creates a new cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software - either Memcached or Redis.
createCacheClusterAsync
in interface AmazonElastiCacheAsync
createCacheClusterRequest
- Container for the necessary
parameters to execute the CreateCacheCluster operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest, AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreateCacheCluster operation creates a new cache cluster. All nodes in the cache cluster run the same protocol-compliant cache engine software - either Memcached or Redis.
createCacheClusterAsync
in interface AmazonElastiCacheAsync
createCacheClusterRequest
- Container for the necessary
parameters to execute the CreateCacheCluster operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest) throws AmazonServiceException, AmazonClientException
The DescribeCacheParameters operation returns the detailed parameter list for a particular cache parameter group.
describeCacheParametersAsync
in interface AmazonElastiCacheAsync
describeCacheParametersRequest
- Container for the necessary
parameters to execute the DescribeCacheParameters operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest, AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeCacheParameters operation returns the detailed parameter list for a particular cache parameter group.
describeCacheParametersAsync
in interface AmazonElastiCacheAsync
describeCacheParametersRequest
- Container for the necessary
parameters to execute the DescribeCacheParameters operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest) throws AmazonServiceException, AmazonClientException
The RebootCacheCluster operation reboots some, or all, of the cache nodes within a provisioned cache cluster. This API will apply any modified cache parameter groups to the cache cluster. The reboot action takes place as soon as possible, and results in a momentary outage to the cache cluster. During the reboot, the cache cluster status is set to REBOOTING.
The reboot causes the contents of the cache (for each cache node being rebooted) to be lost.
When the reboot is complete, a cache cluster event is created.
rebootCacheClusterAsync
in interface AmazonElastiCacheAsync
rebootCacheClusterRequest
- Container for the necessary
parameters to execute the RebootCacheCluster operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest, AsyncHandler<RebootCacheClusterRequest,CacheCluster> asyncHandler) throws AmazonServiceException, AmazonClientException
The RebootCacheCluster operation reboots some, or all, of the cache nodes within a provisioned cache cluster. This API will apply any modified cache parameter groups to the cache cluster. The reboot action takes place as soon as possible, and results in a momentary outage to the cache cluster. During the reboot, the cache cluster status is set to REBOOTING.
The reboot causes the contents of the cache (for each cache node being rebooted) to be lost.
When the reboot is complete, a cache cluster event is created.
rebootCacheClusterAsync
in interface AmazonElastiCacheAsync
rebootCacheClusterRequest
- Container for the necessary
parameters to execute the RebootCacheCluster operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ReplicationGroup> modifyReplicationGroupAsync(ModifyReplicationGroupRequest modifyReplicationGroupRequest) throws AmazonServiceException, AmazonClientException
The ModifyReplicationGroup operation modifies the settings for a replication group.
modifyReplicationGroupAsync
in interface AmazonElastiCacheAsync
modifyReplicationGroupRequest
- Container for the necessary
parameters to execute the ModifyReplicationGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ReplicationGroup> modifyReplicationGroupAsync(ModifyReplicationGroupRequest modifyReplicationGroupRequest, AsyncHandler<ModifyReplicationGroupRequest,ReplicationGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
The ModifyReplicationGroup operation modifies the settings for a replication group.
modifyReplicationGroupAsync
in interface AmazonElastiCacheAsync
modifyReplicationGroupRequest
- Container for the necessary
parameters to execute the ModifyReplicationGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest) throws AmazonServiceException, AmazonClientException
The ModifyCacheParameterGroup operation modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
modifyCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
modifyCacheParameterGroupRequest
- Container for the necessary
parameters to execute the ModifyCacheParameterGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest, AsyncHandler<ModifyCacheParameterGroupRequest,ModifyCacheParameterGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The ModifyCacheParameterGroup operation modifies the parameters of a cache parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
modifyCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
modifyCacheParameterGroupRequest
- Container for the necessary
parameters to execute the ModifyCacheParameterGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest) throws AmazonServiceException, AmazonClientException
The ModifyCacheCluster operation modifies the settings for a cache cluster. You can use this operation to change one or more cluster configuration parameters by specifying the parameters and the new values.
modifyCacheClusterAsync
in interface AmazonElastiCacheAsync
modifyCacheClusterRequest
- Container for the necessary
parameters to execute the ModifyCacheCluster operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest, AsyncHandler<ModifyCacheClusterRequest,CacheCluster> asyncHandler) throws AmazonServiceException, AmazonClientException
The ModifyCacheCluster operation modifies the settings for a cache cluster. You can use this operation to change one or more cluster configuration parameters by specifying the parameters and the new values.
modifyCacheClusterAsync
in interface AmazonElastiCacheAsync
modifyCacheClusterRequest
- Container for the necessary
parameters to execute the ModifyCacheCluster operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest) throws AmazonServiceException, AmazonClientException
The CreateCacheSubnetGroup operation creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).
createCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
createCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the CreateCacheSubnetGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest, AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreateCacheSubnetGroup operation creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (VPC).
createCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
createCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the CreateCacheSubnetGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest) throws AmazonServiceException, AmazonClientException
The DescribeCacheParameterGroups operation returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list will contain only the descriptions for that group.
describeCacheParameterGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheParameterGroupsRequest
- Container for the necessary
parameters to execute the DescribeCacheParameterGroups operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest, AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeCacheParameterGroups operation returns a list of cache parameter group descriptions. If a cache parameter group name is specified, the list will contain only the descriptions for that group.
describeCacheParameterGroupsAsync
in interface AmazonElastiCacheAsync
describeCacheParameterGroupsRequest
- Container for the necessary
parameters to execute the DescribeCacheParameterGroups operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ReplicationGroup> createReplicationGroupAsync(CreateReplicationGroupRequest createReplicationGroupRequest) throws AmazonServiceException, AmazonClientException
The CreateReplicationGroup operation creates a replication group. A replication group is a collection of cache clusters, where one of the clusters is a read/write primary and the other clusters 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.
createReplicationGroupAsync
in interface AmazonElastiCacheAsync
createReplicationGroupRequest
- Container for the necessary
parameters to execute the CreateReplicationGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ReplicationGroup> createReplicationGroupAsync(CreateReplicationGroupRequest createReplicationGroupRequest, AsyncHandler<CreateReplicationGroupRequest,ReplicationGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreateReplicationGroup operation creates a replication group. A replication group is a collection of cache clusters, where one of the clusters is a read/write primary and the other clusters 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.
createReplicationGroupAsync
in interface AmazonElastiCacheAsync
createReplicationGroupRequest
- Container for the necessary
parameters to execute the CreateReplicationGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest) throws AmazonServiceException, AmazonClientException
The ModifyCacheSubnetGroup operation modifies an existing cache subnet group.
modifyCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
modifyCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the ModifyCacheSubnetGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest, AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
The ModifyCacheSubnetGroup operation modifies an existing cache subnet group.
modifyCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
modifyCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the ModifyCacheSubnetGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest) throws AmazonServiceException, AmazonClientException
The DescribeCacheClusters operation returns information about all provisioned cache clusters if no cache cluster identifier is specified, or about a specific cache cluster if a cache cluster identifier is supplied.
By default, abbreviated information about the cache clusters(s) will be returned. You can use the optional ShowDetails flag to retrieve detailed information about the cache nodes associated with the cache clusters. These details include the DNS address and port for the cache node endpoint.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the cache cluster state is available , the cluster is ready for use.
If cache nodes are currently being removed from the cache cluster, no endpoint information for the removed nodes is displayed.
describeCacheClustersAsync
in interface AmazonElastiCacheAsync
describeCacheClustersRequest
- Container for the necessary
parameters to execute the DescribeCacheClusters operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest, AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeCacheClusters operation returns information about all provisioned cache clusters if no cache cluster identifier is specified, or about a specific cache cluster if a cache cluster identifier is supplied.
By default, abbreviated information about the cache clusters(s) will be returned. You can use the optional ShowDetails flag to retrieve detailed information about the cache nodes associated with the cache clusters. These details include the DNS address and port for the cache node endpoint.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
If cache nodes are currently being added to the cache cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the cache cluster state is available , the cluster is ready for use.
If cache nodes are currently being removed from the cache cluster, no endpoint information for the removed nodes is displayed.
describeCacheClustersAsync
in interface AmazonElastiCacheAsync
describeCacheClustersRequest
- Container for the necessary
parameters to execute the DescribeCacheClusters operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Snapshot> createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest) throws AmazonServiceException, AmazonClientException
The CreateSnapshot operation creates a copy of an entire cache cluster at a specific moment in time.
createSnapshotAsync
in interface AmazonElastiCacheAsync
createSnapshotRequest
- Container for the necessary parameters to
execute the CreateSnapshot operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Snapshot> createSnapshotAsync(CreateSnapshotRequest createSnapshotRequest, AsyncHandler<CreateSnapshotRequest,Snapshot> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreateSnapshot operation creates a copy of an entire cache cluster at a specific moment in time.
createSnapshotAsync
in interface AmazonElastiCacheAsync
createSnapshotRequest
- Container for the necessary parameters to
execute the CreateSnapshot operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Snapshot> deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest) throws AmazonServiceException, AmazonClientException
The DeleteSnapshot operation deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.
deleteSnapshotAsync
in interface AmazonElastiCacheAsync
deleteSnapshotRequest
- Container for the necessary parameters to
execute the DeleteSnapshot operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Snapshot> deleteSnapshotAsync(DeleteSnapshotRequest deleteSnapshotRequest, AsyncHandler<DeleteSnapshotRequest,Snapshot> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeleteSnapshot operation deletes an existing snapshot. When you receive a successful response from this operation, ElastiCache immediately begins deleting the snapshot; you cannot cancel or revert this operation.
deleteSnapshotAsync
in interface AmazonElastiCacheAsync
deleteSnapshotRequest
- Container for the necessary parameters to
execute the DeleteSnapshot operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest) throws AmazonServiceException, AmazonClientException
The DescribeEvents operation returns events related to cache clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular cache cluster, cache security group, or cache parameter group by providing the name as a parameter.
By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.
describeEventsAsync
in interface AmazonElastiCacheAsync
describeEventsRequest
- Container for the necessary parameters to
execute the DescribeEvents operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeEvents operation returns events related to cache clusters, cache security groups, and cache parameter groups. You can obtain events specific to a particular cache cluster, cache security group, or cache parameter group by providing the name as a parameter.
By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.
describeEventsAsync
in interface AmazonElastiCacheAsync
describeEventsRequest
- Container for the necessary parameters to
execute the DescribeEvents operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest) throws AmazonServiceException, AmazonClientException
The DescribeEngineDefaultParameters operation returns the default engine and system parameter information for the specified cache engine.
describeEngineDefaultParametersAsync
in interface AmazonElastiCacheAsync
describeEngineDefaultParametersRequest
- Container for the
necessary parameters to execute the DescribeEngineDefaultParameters
operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest, AsyncHandler<DescribeEngineDefaultParametersRequest,EngineDefaults> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeEngineDefaultParameters operation returns the default engine and system parameter information for the specified cache engine.
describeEngineDefaultParametersAsync
in interface AmazonElastiCacheAsync
describeEngineDefaultParametersRequest
- Container for the
necessary parameters to execute the DescribeEngineDefaultParameters
operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest) throws AmazonServiceException, AmazonClientException
The AuthorizeCacheSecurityGroupIngress operation 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.
NOTE:You cannot authorize ingress from an Amazon EC2 security group in one region to an ElastiCache cluster in another region.
authorizeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
authorizeCacheSecurityGroupIngressRequest
- Container for the
necessary parameters to execute the AuthorizeCacheSecurityGroupIngress
operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest, AsyncHandler<AuthorizeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
The AuthorizeCacheSecurityGroupIngress operation 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.
NOTE:You cannot authorize ingress from an Amazon EC2 security group in one region to an ElastiCache cluster in another region.
authorizeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
authorizeCacheSecurityGroupIngressRequest
- Container for the
necessary parameters to execute the AuthorizeCacheSecurityGroupIngress
operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest) throws AmazonServiceException, AmazonClientException
The DescribeCacheEngineVersions operation returns a list of the available cache engines and their versions.
describeCacheEngineVersionsAsync
in interface AmazonElastiCacheAsync
describeCacheEngineVersionsRequest
- Container for the necessary
parameters to execute the DescribeCacheEngineVersions operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest, AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeCacheEngineVersions operation returns a list of the available cache engines and their versions.
describeCacheEngineVersionsAsync
in interface AmazonElastiCacheAsync
describeCacheEngineVersionsRequest
- Container for the necessary
parameters to execute the DescribeCacheEngineVersions operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ReplicationGroup> deleteReplicationGroupAsync(DeleteReplicationGroupRequest deleteReplicationGroupRequest) throws AmazonServiceException, AmazonClientException
The DeleteReplicationGroup operation deletes an existing replication group. By default, this operation deletes the entire replication group, including the primary cache cluster and all of the read replicas. You can optionally delete only the read replicas, while retaining the primary cache cluster.
When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.
deleteReplicationGroupAsync
in interface AmazonElastiCacheAsync
deleteReplicationGroupRequest
- Container for the necessary
parameters to execute the DeleteReplicationGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ReplicationGroup> deleteReplicationGroupAsync(DeleteReplicationGroupRequest deleteReplicationGroupRequest, AsyncHandler<DeleteReplicationGroupRequest,ReplicationGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeleteReplicationGroup operation deletes an existing replication group. By default, this operation deletes the entire replication group, including the primary cache cluster and all of the read replicas. You can optionally delete only the read replicas, while retaining the primary cache cluster.
When you receive a successful response from this operation, Amazon ElastiCache immediately begins deleting the selected resources; you cannot cancel or revert this operation.
deleteReplicationGroupAsync
in interface AmazonElastiCacheAsync
deleteReplicationGroupRequest
- Container for the necessary
parameters to execute the DeleteReplicationGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest) throws AmazonServiceException, AmazonClientException
The DescribeSnapshots operation returns information about cache cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cache cluster.
describeSnapshotsAsync
in interface AmazonElastiCacheAsync
describeSnapshotsRequest
- Container for the necessary parameters
to execute the DescribeSnapshots operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeSnapshotsResult> describeSnapshotsAsync(DescribeSnapshotsRequest describeSnapshotsRequest, AsyncHandler<DescribeSnapshotsRequest,DescribeSnapshotsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeSnapshots operation returns information about cache cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cache cluster.
describeSnapshotsAsync
in interface AmazonElastiCacheAsync
describeSnapshotsRequest
- Container for the necessary parameters
to execute the DescribeSnapshots operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest) throws AmazonServiceException, AmazonClientException
The RevokeCacheSecurityGroupIngress operation revokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized.
revokeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
revokeCacheSecurityGroupIngressRequest
- Container for the
necessary parameters to execute the RevokeCacheSecurityGroupIngress
operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest, AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
The RevokeCacheSecurityGroupIngress operation revokes ingress from a cache security group. Use this operation to disallow access from an Amazon EC2 security group that had been previously authorized.
revokeCacheSecurityGroupIngressAsync
in interface AmazonElastiCacheAsync
revokeCacheSecurityGroupIngressRequest
- Container for the
necessary parameters to execute the RevokeCacheSecurityGroupIngress
operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest) throws AmazonServiceException, AmazonClientException
The DescribeReservedCacheNodesOfferings operation lists available reserved cache node offerings.
describeReservedCacheNodesOfferingsAsync
in interface AmazonElastiCacheAsync
describeReservedCacheNodesOfferingsRequest
- Container for the
necessary parameters to execute the
DescribeReservedCacheNodesOfferings operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest, AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
The DescribeReservedCacheNodesOfferings operation lists available reserved cache node offerings.
describeReservedCacheNodesOfferingsAsync
in interface AmazonElastiCacheAsync
describeReservedCacheNodesOfferingsRequest
- Container for the
necessary parameters to execute the
DescribeReservedCacheNodesOfferings operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest) throws AmazonServiceException, AmazonClientException
The DeleteCacheSubnetGroup operation deletes a cache subnet group.
NOTE:You cannot delete a cache subnet group if it is associated with any cache clusters.
deleteCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
deleteCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the DeleteCacheSubnetGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest, AsyncHandler<DeleteCacheSubnetGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
The DeleteCacheSubnetGroup operation deletes a cache subnet group.
NOTE:You cannot delete a cache subnet group if it is associated with any cache clusters.
deleteCacheSubnetGroupAsync
in interface AmazonElastiCacheAsync
deleteCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the DeleteCacheSubnetGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest) throws AmazonServiceException, AmazonClientException
The CreateCacheParameterGroup operation creates a new cache parameter group. A cache parameter group is a collection of parameters that you apply to all of the nodes in a cache cluster.
createCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
createCacheParameterGroupRequest
- Container for the necessary
parameters to execute the CreateCacheParameterGroup operation on
AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest, AsyncHandler<CreateCacheParameterGroupRequest,CacheParameterGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
The CreateCacheParameterGroup operation creates a new cache parameter group. A cache parameter group is a collection of parameters that you apply to all of the nodes in a cache cluster.
createCacheParameterGroupAsync
in interface AmazonElastiCacheAsync
createCacheParameterGroupRequest
- Container for the necessary
parameters to execute the CreateCacheParameterGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest) throws AmazonServiceException, AmazonClientException
The PurchaseReservedCacheNodesOffering operation allows you to purchase a reserved cache node offering.
purchaseReservedCacheNodesOfferingAsync
in interface AmazonElastiCacheAsync
purchaseReservedCacheNodesOfferingRequest
- Container for the
necessary parameters to execute the PurchaseReservedCacheNodesOffering
operation on AmazonElastiCache.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.public Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest, AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler) throws AmazonServiceException, AmazonClientException
The PurchaseReservedCacheNodesOffering operation allows you to purchase a reserved cache node offering.
purchaseReservedCacheNodesOfferingAsync
in interface AmazonElastiCacheAsync
purchaseReservedCacheNodesOfferingRequest
- Container for the
necessary parameters to execute the PurchaseReservedCacheNodesOffering
operation on AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.Copyright © 2014. All rights reserved.