|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AmazonElastiCacheAsync
Interface for accessing AmazonElastiCache asynchronously. Each asynchronous method will return a Java Future object, and users are also allowed to provide a callback handler. Amazon ElastiCache
Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale a distributed cache in the cloud.
With Amazon ElastiCache, customers gain all of the benefits of a high-performance, in-memory cache with far less of the administrative burden of launching and managing a distributed cache. The service makes set-up, scaling, and cluster failure handling much simpler than in a self-managed cache deployment.
In addition, through integration with Amazon CloudWatch, customers get enhanced visibility into the key performance statistics associated with their cache and can receive alarms if a part of their cache runs hot.
Method Detail |
---|
Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest) throws AmazonServiceException, AmazonClientException
Authorizes ingress to a CacheSecurityGroup using EC2 Security Groups as authorization (therefore the application using the cache must be running on EC2 clusters). This API requires the following parameters: EC2SecurityGroupName and EC2SecurityGroupOwnerId.
NOTE: You cannot authorize ingress from an EC2 security group in one Region to an Amazon Cache Cluster in another.
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.Future<CacheSecurityGroup> authorizeCacheSecurityGroupIngressAsync(AuthorizeCacheSecurityGroupIngressRequest authorizeCacheSecurityGroupIngressRequest, AsyncHandler<AuthorizeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
Authorizes ingress to a CacheSecurityGroup using EC2 Security Groups as authorization (therefore the application using the cache must be running on EC2 clusters). This API requires the following parameters: EC2SecurityGroupName and EC2SecurityGroupOwnerId.
NOTE: You cannot authorize ingress from an EC2 security group in one Region to an Amazon Cache Cluster in another.
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.Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a new Cache Subnet Group.
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.Future<CacheSubnetGroup> createCacheSubnetGroupAsync(CreateCacheSubnetGroupRequest createCacheSubnetGroupRequest, AsyncHandler<CreateCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new Cache Subnet Group.
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.Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest) throws AmazonServiceException, AmazonClientException
Purchases a reserved Cache Node offering.
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.Future<ReservedCacheNode> purchaseReservedCacheNodesOfferingAsync(PurchaseReservedCacheNodesOfferingRequest purchaseReservedCacheNodesOfferingRequest, AsyncHandler<PurchaseReservedCacheNodesOfferingRequest,ReservedCacheNode> asyncHandler) throws AmazonServiceException, AmazonClientException
Purchases a reserved Cache Node offering.
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.Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest) throws AmazonServiceException, AmazonClientException
Reboots some (or all) of the cache cluster nodes within a previously provisioned ElastiCache cluster. This API results in the application of modified CacheParameterGroup parameters to the cache cluster. This action is taken as soon as possible, and results in a momentary outage to the cache cluster during which the cache cluster status is set to rebooting. During that momentary outage, the contents of the cache (for each cache cluster node being rebooted) are lost. A CacheCluster event is created when the reboot is completed.
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.Future<CacheCluster> rebootCacheClusterAsync(RebootCacheClusterRequest rebootCacheClusterRequest, AsyncHandler<RebootCacheClusterRequest,CacheCluster> asyncHandler) throws AmazonServiceException, AmazonClientException
Reboots some (or all) of the cache cluster nodes within a previously provisioned ElastiCache cluster. This API results in the application of modified CacheParameterGroup parameters to the cache cluster. This action is taken as soon as possible, and results in a momentary outage to the cache cluster during which the cache cluster status is set to rebooting. During that momentary outage, the contents of the cache (for each cache cluster node being rebooted) are lost. A CacheCluster event is created when the reboot is completed.
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.Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest) throws AmazonServiceException, AmazonClientException
Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.
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.Future<CacheSecurityGroup> revokeCacheSecurityGroupIngressAsync(RevokeCacheSecurityGroupIngressRequest revokeCacheSecurityGroupIngressRequest, AsyncHandler<RevokeCacheSecurityGroupIngressRequest,CacheSecurityGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
Revokes ingress from a CacheSecurityGroup for previously authorized EC2 Security Groups.
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.Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest) throws AmazonServiceException, AmazonClientException
Returns a list of CacheSubnetGroup descriptions. If a CacheSubnetGroupName is specified, the list will contain only the description of the specified Cache Subnet Group.
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.Future<DescribeCacheSubnetGroupsResult> describeCacheSubnetGroupsAsync(DescribeCacheSubnetGroupsRequest describeCacheSubnetGroupsRequest, AsyncHandler<DescribeCacheSubnetGroupsRequest,DescribeCacheSubnetGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list of CacheSubnetGroup descriptions. If a CacheSubnetGroupName is specified, the list will contain only the description of the specified Cache Subnet Group.
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.Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a new Cache Security Group. Cache Security groups control access to one or more Cache Clusters.
Only use cache security groups when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). Inside of a VPC, use VPC security groups.
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.Future<CacheSecurityGroup> createCacheSecurityGroupAsync(CreateCacheSecurityGroupRequest createCacheSecurityGroupRequest, AsyncHandler<CreateCacheSecurityGroupRequest,CacheSecurityGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new Cache Security Group. Cache Security groups control access to one or more Cache Clusters.
Only use cache security groups when you are creating a cluster outside of an Amazon Virtual Private Cloud (VPC). Inside of a VPC, use VPC security groups.
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.Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest) throws AmazonServiceException, AmazonClientException
Creates a new Cache Cluster.
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.Future<CacheCluster> createCacheClusterAsync(CreateCacheClusterRequest createCacheClusterRequest, AsyncHandler<CreateCacheClusterRequest,CacheCluster> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new Cache Cluster.
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.Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest) throws AmazonServiceException, AmazonClientException
Returns events related to Cache Clusters, Cache Security Groups, and Cache Parameter Groups for the past 14 days. Events specific to a particular Cache Cluster, Cache Security Group, or Cache Parameter Group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.
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.Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns events related to Cache Clusters, Cache Security Groups, and Cache Parameter Groups for the past 14 days. Events specific to a particular Cache Cluster, Cache Security Group, or Cache Parameter Group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.
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.Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest) throws AmazonServiceException, AmazonClientException
Returns information about reserved Cache Nodes for this account, or about a specified reserved Cache Node.
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.Future<DescribeReservedCacheNodesResult> describeReservedCacheNodesAsync(DescribeReservedCacheNodesRequest describeReservedCacheNodesRequest, AsyncHandler<DescribeReservedCacheNodesRequest,DescribeReservedCacheNodesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns information about reserved Cache Nodes for this account, or about a specified reserved Cache Node.
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.Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest) throws AmazonServiceException, AmazonClientException
Returns a list of the available cache engines and their versions.
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.Future<DescribeCacheEngineVersionsResult> describeCacheEngineVersionsAsync(DescribeCacheEngineVersionsRequest describeCacheEngineVersionsRequest, AsyncHandler<DescribeCacheEngineVersionsRequest,DescribeCacheEngineVersionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list of the available cache engines and their versions.
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.Future<Void> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified CacheParameterGroup. The CacheParameterGroup cannot be deleted if it is associated with any cache clusters.
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.Future<Void> deleteCacheParameterGroupAsync(DeleteCacheParameterGroupRequest deleteCacheParameterGroupRequest, AsyncHandler<DeleteCacheParameterGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified CacheParameterGroup. The CacheParameterGroup cannot be deleted if it is associated with any cache clusters.
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.Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest) throws AmazonServiceException, AmazonClientException
Modifies the parameters of a CacheParameterGroup. To modify more than one parameter, submit a list of ParameterName and ParameterValue parameters. A maximum of 20 parameters can be modified in a single request.
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.Future<ModifyCacheParameterGroupResult> modifyCacheParameterGroupAsync(ModifyCacheParameterGroupRequest modifyCacheParameterGroupRequest, AsyncHandler<ModifyCacheParameterGroupRequest,ModifyCacheParameterGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies the parameters of a CacheParameterGroup. To modify more than one parameter, submit a list of ParameterName and ParameterValue parameters. A maximum of 20 parameters can be modified in a single request.
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.Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest) throws AmazonServiceException, AmazonClientException
Returns the default engine and system parameter information for the specified cache engine.
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.Future<EngineDefaults> describeEngineDefaultParametersAsync(DescribeEngineDefaultParametersRequest describeEngineDefaultParametersRequest, AsyncHandler<DescribeEngineDefaultParametersRequest,EngineDefaults> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns the default engine and system parameter information for the specified cache engine.
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.Future<Void> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes a Cache Subnet Group.
NOTE:The specified Cache Subnet Group must not be associated with any Cache Clusters.
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.Future<Void> deleteCacheSubnetGroupAsync(DeleteCacheSubnetGroupRequest deleteCacheSubnetGroupRequest, AsyncHandler<DeleteCacheSubnetGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a Cache Subnet Group.
NOTE:The specified Cache Subnet Group must not be associated with any Cache Clusters.
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.Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest) throws AmazonServiceException, AmazonClientException
Creates a new Cache Parameter Group. Cache Parameter groups control the parameters for a Cache Cluster.
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.Future<CacheParameterGroup> createCacheParameterGroupAsync(CreateCacheParameterGroupRequest createCacheParameterGroupRequest, AsyncHandler<CreateCacheParameterGroupRequest,CacheParameterGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new Cache Parameter Group. Cache Parameter groups control the parameters for a Cache Cluster.
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.Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest) throws AmazonServiceException, AmazonClientException
Returns a list of CacheSecurityGroup descriptions. If a CacheSecurityGroupName is specified, the list will contain only the description of the specified CacheSecurityGroup.
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.Future<DescribeCacheSecurityGroupsResult> describeCacheSecurityGroupsAsync(DescribeCacheSecurityGroupsRequest describeCacheSecurityGroupsRequest, AsyncHandler<DescribeCacheSecurityGroupsRequest,DescribeCacheSecurityGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list of CacheSecurityGroup descriptions. If a CacheSecurityGroupName is specified, the list will contain only the description of the specified CacheSecurityGroup.
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.Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest) throws AmazonServiceException, AmazonClientException
Returns a list of CacheParameterGroup descriptions. If a CacheParameterGroupName is specified, the list will contain only the descriptions of the specified CacheParameterGroup.
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.Future<DescribeCacheParameterGroupsResult> describeCacheParameterGroupsAsync(DescribeCacheParameterGroupsRequest describeCacheParameterGroupsRequest, AsyncHandler<DescribeCacheParameterGroupsRequest,DescribeCacheParameterGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list of CacheParameterGroup descriptions. If a CacheParameterGroupName is specified, the list will contain only the descriptions of the specified CacheParameterGroup.
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.Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest) throws AmazonServiceException, AmazonClientException
Returns information about all provisioned Cache Clusters if no Cache Cluster identifier is specified, or about a specific Cache Cluster if a Cache Cluster identifier is supplied.
Cluster information will be returned by default. An optional ShowDetails flag can be used to retrieve detailed information about the Cache Nodes associated with the Cache Cluster. Details include the DNS address and port for the Cache Node endpoint.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
While adding Cache Nodes, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. The cluster lifecycle tells the customer when new nodes are AVAILABLE.
While removing existing Cache Nodes from an cluster, endpoint information for the removed nodes will not be displayed.
DescribeCacheClusters supports pagination.
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.Future<DescribeCacheClustersResult> describeCacheClustersAsync(DescribeCacheClustersRequest describeCacheClustersRequest, AsyncHandler<DescribeCacheClustersRequest,DescribeCacheClustersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns information about all provisioned Cache Clusters if no Cache Cluster identifier is specified, or about a specific Cache Cluster if a Cache Cluster identifier is supplied.
Cluster information will be returned by default. An optional ShowDetails flag can be used to retrieve detailed information about the Cache Nodes associated with the Cache Cluster. Details include the DNS address and port for the Cache Node endpoint.
If the cluster is in the CREATING state, only cluster level information will be displayed until all of the nodes are successfully provisioned.
If the cluster is in the DELETING state, only cluster level information will be displayed.
While adding Cache Nodes, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. The cluster lifecycle tells the customer when new nodes are AVAILABLE.
While removing existing Cache Nodes from an cluster, endpoint information for the removed nodes will not be displayed.
DescribeCacheClusters supports pagination.
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.Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest) throws AmazonServiceException, AmazonClientException
Modifies the parameters of a CacheParameterGroup to the engine or system default value. To reset specific parameters submit a list of the parameter names. To reset the entire CacheParameterGroup, specify the CacheParameterGroup name and ResetAllParameters parameters.
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.Future<ResetCacheParameterGroupResult> resetCacheParameterGroupAsync(ResetCacheParameterGroupRequest resetCacheParameterGroupRequest, AsyncHandler<ResetCacheParameterGroupRequest,ResetCacheParameterGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies the parameters of a CacheParameterGroup to the engine or system default value. To reset specific parameters submit a list of the parameter names. To reset the entire CacheParameterGroup, specify the CacheParameterGroup name and ResetAllParameters parameters.
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.Future<Void> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes a Cache Security Group.
NOTE:The specified Cache Security Group must not be associated with any Cache Clusters.
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.Future<Void> deleteCacheSecurityGroupAsync(DeleteCacheSecurityGroupRequest deleteCacheSecurityGroupRequest, AsyncHandler<DeleteCacheSecurityGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a Cache Security Group.
NOTE:The specified Cache Security Group must not be associated with any Cache Clusters.
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.Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest) throws AmazonServiceException, AmazonClientException
Modifies the Cache Cluster settings. You can change one or more Cache Cluster configuration parameters by specifying the parameters and the new values in the request.
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.Future<CacheCluster> modifyCacheClusterAsync(ModifyCacheClusterRequest modifyCacheClusterRequest, AsyncHandler<ModifyCacheClusterRequest,CacheCluster> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies the Cache Cluster settings. You can change one or more Cache Cluster configuration parameters by specifying the parameters and the new values in the request.
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.Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest) throws AmazonServiceException, AmazonClientException
Deletes a previously provisioned Cache Cluster. A successful response from the web service indicates the request was received correctly. This action cannot be canceled or reverted. DeleteCacheCluster deletes all associated Cache Nodes, node endpoints and the Cache Cluster itself.
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.Future<CacheCluster> deleteCacheClusterAsync(DeleteCacheClusterRequest deleteCacheClusterRequest, AsyncHandler<DeleteCacheClusterRequest,CacheCluster> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a previously provisioned Cache Cluster. A successful response from the web service indicates the request was received correctly. This action cannot be canceled or reverted. DeleteCacheCluster deletes all associated Cache Nodes, node endpoints and the Cache Cluster itself.
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.Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest) throws AmazonServiceException, AmazonClientException
Lists available reserved Cache Node offerings.
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.Future<DescribeReservedCacheNodesOfferingsResult> describeReservedCacheNodesOfferingsAsync(DescribeReservedCacheNodesOfferingsRequest describeReservedCacheNodesOfferingsRequest, AsyncHandler<DescribeReservedCacheNodesOfferingsRequest,DescribeReservedCacheNodesOfferingsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists available reserved Cache Node offerings.
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.Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest) throws AmazonServiceException, AmazonClientException
Returns the detailed parameter list for a particular CacheParameterGroup.
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.Future<DescribeCacheParametersResult> describeCacheParametersAsync(DescribeCacheParametersRequest describeCacheParametersRequest, AsyncHandler<DescribeCacheParametersRequest,DescribeCacheParametersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns the detailed parameter list for a particular CacheParameterGroup.
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.Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest) throws AmazonServiceException, AmazonClientException
Modifies an existing Cache Subnet Group.
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.Future<CacheSubnetGroup> modifyCacheSubnetGroupAsync(ModifyCacheSubnetGroupRequest modifyCacheSubnetGroupRequest, AsyncHandler<ModifyCacheSubnetGroupRequest,CacheSubnetGroup> asyncHandler) throws AmazonServiceException, AmazonClientException
Modifies an existing Cache Subnet Group.
modifyCacheSubnetGroupRequest
- Container for the necessary
parameters to execute the ModifyCacheSubnetGroup operation on
AmazonElastiCache.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonElastiCache indicating
either a problem with the data in the request, or a server side issue.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |