@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonDaxAsyncClient extends AmazonDaxClient implements AmazonDaxAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so applications can access that data with sub-millisecond latency. You can create a DAX cluster easily, using the AWS Management Console. With a few simple modifications to your code, your application can begin taking advantage of the DAX cluster and realize significant improvements in read performance.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createCluster, createParameterGroup, createSubnetGroup, decreaseReplicationFactor, deleteCluster, deleteParameterGroup, deleteSubnetGroup, describeClusters, describeDefaultParameters, describeEvents, describeParameterGroups, describeParameters, describeSubnetGroups, getCachedResponseMetadata, increaseReplicationFactor, listTags, rebootNode, tagResource, untagResource, updateCluster, updateParameterGroup, updateSubnetGroupaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCluster, createParameterGroup, createSubnetGroup, decreaseReplicationFactor, deleteCluster, deleteParameterGroup, deleteSubnetGroup, describeClusters, describeDefaultParameters, describeEvents, describeParameterGroups, describeParameters, describeSubnetGroups, getCachedResponseMetadata, increaseReplicationFactor, listTags, rebootNode, tagResource, untagResource, updateCluster, updateParameterGroup, updateSubnetGrouppublic static AmazonDaxAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request)
AmazonDaxAsyncCreates a DAX cluster. All nodes in the cluster run the same DAX caching software.
createClusterAsync in interface AmazonDaxAsyncpublic Future<CreateClusterResult> createClusterAsync(CreateClusterRequest request, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
AmazonDaxAsyncCreates a DAX cluster. All nodes in the cluster run the same DAX caching software.
createClusterAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateParameterGroupResult> createParameterGroupAsync(CreateParameterGroupRequest request)
AmazonDaxAsyncCreates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster.
createParameterGroupAsync in interface AmazonDaxAsyncpublic Future<CreateParameterGroupResult> createParameterGroupAsync(CreateParameterGroupRequest request, AsyncHandler<CreateParameterGroupRequest,CreateParameterGroupResult> asyncHandler)
AmazonDaxAsyncCreates a new parameter group. A parameter group is a collection of parameters that you apply to all of the nodes in a DAX cluster.
createParameterGroupAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSubnetGroupResult> createSubnetGroupAsync(CreateSubnetGroupRequest request)
AmazonDaxAsyncCreates a new subnet group.
createSubnetGroupAsync in interface AmazonDaxAsyncpublic Future<CreateSubnetGroupResult> createSubnetGroupAsync(CreateSubnetGroupRequest request, AsyncHandler<CreateSubnetGroupRequest,CreateSubnetGroupResult> asyncHandler)
AmazonDaxAsyncCreates a new subnet group.
createSubnetGroupAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DecreaseReplicationFactorResult> decreaseReplicationFactorAsync(DecreaseReplicationFactorRequest request)
AmazonDaxAsyncRemoves one or more nodes from a DAX cluster.
You cannot use DecreaseReplicationFactor to remove the last node in a DAX cluster. If you need to do
this, use DeleteCluster instead.
decreaseReplicationFactorAsync in interface AmazonDaxAsyncpublic Future<DecreaseReplicationFactorResult> decreaseReplicationFactorAsync(DecreaseReplicationFactorRequest request, AsyncHandler<DecreaseReplicationFactorRequest,DecreaseReplicationFactorResult> asyncHandler)
AmazonDaxAsyncRemoves one or more nodes from a DAX cluster.
You cannot use DecreaseReplicationFactor to remove the last node in a DAX cluster. If you need to do
this, use DeleteCluster instead.
decreaseReplicationFactorAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request)
AmazonDaxAsyncDeletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action.
deleteClusterAsync in interface AmazonDaxAsyncpublic Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest request, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
AmazonDaxAsyncDeletes a previously provisioned DAX cluster. DeleteCluster deletes all associated nodes, node endpoints and the DAX cluster itself. When you receive a successful response from this action, DAX immediately begins deleting the cluster; you cannot cancel or revert this action.
deleteClusterAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteParameterGroupResult> deleteParameterGroupAsync(DeleteParameterGroupRequest request)
AmazonDaxAsyncDeletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.
deleteParameterGroupAsync in interface AmazonDaxAsyncpublic Future<DeleteParameterGroupResult> deleteParameterGroupAsync(DeleteParameterGroupRequest request, AsyncHandler<DeleteParameterGroupRequest,DeleteParameterGroupResult> asyncHandler)
AmazonDaxAsyncDeletes the specified parameter group. You cannot delete a parameter group if it is associated with any DAX clusters.
deleteParameterGroupAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSubnetGroupResult> deleteSubnetGroupAsync(DeleteSubnetGroupRequest request)
AmazonDaxAsyncDeletes a subnet group.
You cannot delete a subnet group if it is associated with any DAX clusters.
deleteSubnetGroupAsync in interface AmazonDaxAsyncpublic Future<DeleteSubnetGroupResult> deleteSubnetGroupAsync(DeleteSubnetGroupRequest request, AsyncHandler<DeleteSubnetGroupRequest,DeleteSubnetGroupResult> asyncHandler)
AmazonDaxAsyncDeletes a subnet group.
You cannot delete a subnet group if it is associated with any DAX clusters.
deleteSubnetGroupAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeClustersResult> describeClustersAsync(DescribeClustersRequest request)
AmazonDaxAsyncReturns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.
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 nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is available, the cluster is ready for use.
If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed.
describeClustersAsync in interface AmazonDaxAsyncpublic Future<DescribeClustersResult> describeClustersAsync(DescribeClustersRequest request, AsyncHandler<DescribeClustersRequest,DescribeClustersResult> asyncHandler)
AmazonDaxAsyncReturns information about all provisioned DAX clusters if no cluster identifier is specified, or about a specific DAX cluster if a cluster identifier is supplied.
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 nodes are currently being added to the DAX cluster, node endpoint information and creation time for the additional nodes will not be displayed until they are completely provisioned. When the DAX cluster state is available, the cluster is ready for use.
If nodes are currently being removed from the DAX cluster, no endpoint information for the removed nodes is displayed.
describeClustersAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDefaultParametersResult> describeDefaultParametersAsync(DescribeDefaultParametersRequest request)
AmazonDaxAsyncReturns the default system parameter information for the DAX caching software.
describeDefaultParametersAsync in interface AmazonDaxAsyncpublic Future<DescribeDefaultParametersResult> describeDefaultParametersAsync(DescribeDefaultParametersRequest request, AsyncHandler<DescribeDefaultParametersRequest,DescribeDefaultParametersResult> asyncHandler)
AmazonDaxAsyncReturns the default system parameter information for the DAX caching software.
describeDefaultParametersAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request)
AmazonDaxAsyncReturns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter.
By default, only the events occurring within the last 24 hours are returned; however, you can retrieve up to 14 days' worth of events if necessary.
describeEventsAsync in interface AmazonDaxAsyncpublic Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
AmazonDaxAsyncReturns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter.
By default, only the events occurring within the last 24 hours are returned; however, you can retrieve up to 14 days' worth of events if necessary.
describeEventsAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeParameterGroupsResult> describeParameterGroupsAsync(DescribeParameterGroupsRequest request)
AmazonDaxAsyncReturns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
describeParameterGroupsAsync in interface AmazonDaxAsyncpublic Future<DescribeParameterGroupsResult> describeParameterGroupsAsync(DescribeParameterGroupsRequest request, AsyncHandler<DescribeParameterGroupsRequest,DescribeParameterGroupsResult> asyncHandler)
AmazonDaxAsyncReturns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.
describeParameterGroupsAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeParametersResult> describeParametersAsync(DescribeParametersRequest request)
AmazonDaxAsyncReturns the detailed parameter list for a particular parameter group.
describeParametersAsync in interface AmazonDaxAsyncpublic Future<DescribeParametersResult> describeParametersAsync(DescribeParametersRequest request, AsyncHandler<DescribeParametersRequest,DescribeParametersResult> asyncHandler)
AmazonDaxAsyncReturns the detailed parameter list for a particular parameter group.
describeParametersAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSubnetGroupsResult> describeSubnetGroupsAsync(DescribeSubnetGroupsRequest request)
AmazonDaxAsyncReturns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
describeSubnetGroupsAsync in interface AmazonDaxAsyncpublic Future<DescribeSubnetGroupsResult> describeSubnetGroupsAsync(DescribeSubnetGroupsRequest request, AsyncHandler<DescribeSubnetGroupsRequest,DescribeSubnetGroupsResult> asyncHandler)
AmazonDaxAsyncReturns a list of subnet group descriptions. If a subnet group name is specified, the list will contain only the description of that group.
describeSubnetGroupsAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<IncreaseReplicationFactorResult> increaseReplicationFactorAsync(IncreaseReplicationFactorRequest request)
AmazonDaxAsyncAdds one or more nodes to a DAX cluster.
increaseReplicationFactorAsync in interface AmazonDaxAsyncpublic Future<IncreaseReplicationFactorResult> increaseReplicationFactorAsync(IncreaseReplicationFactorRequest request, AsyncHandler<IncreaseReplicationFactorRequest,IncreaseReplicationFactorResult> asyncHandler)
AmazonDaxAsyncAdds one or more nodes to a DAX cluster.
increaseReplicationFactorAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsResult> listTagsAsync(ListTagsRequest request)
AmazonDaxAsync
List all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per
account.
listTagsAsync in interface AmazonDaxAsyncpublic Future<ListTagsResult> listTagsAsync(ListTagsRequest request, AsyncHandler<ListTagsRequest,ListTagsResult> asyncHandler)
AmazonDaxAsync
List all of the tags for a DAX cluster. You can call ListTags up to 10 times per second, per
account.
listTagsAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RebootNodeResult> rebootNodeAsync(RebootNodeRequest request)
AmazonDaxAsyncReboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING.
RebootNode restarts the DAX engine process and does not remove the contents of the cache.
rebootNodeAsync in interface AmazonDaxAsyncpublic Future<RebootNodeResult> rebootNodeAsync(RebootNodeRequest request, AsyncHandler<RebootNodeRequest,RebootNodeResult> asyncHandler)
AmazonDaxAsyncReboots a single node of a DAX cluster. The reboot action takes place as soon as possible. During the reboot, the node status is set to REBOOTING.
RebootNode restarts the DAX engine process and does not remove the contents of the cache.
rebootNodeAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonDaxAsync
Associates a set of tags with a DAX resource. You can call TagResource up to 5 times per second, per
account.
tagResourceAsync in interface AmazonDaxAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonDaxAsync
Associates a set of tags with a DAX resource. You can call TagResource up to 5 times per second, per
account.
tagResourceAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonDaxAsync
Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per
second, per account.
untagResourceAsync in interface AmazonDaxAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonDaxAsync
Removes the association of tags from a DAX resource. You can call UntagResource up to 5 times per
second, per account.
untagResourceAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest request)
AmazonDaxAsyncModifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values.
updateClusterAsync in interface AmazonDaxAsyncpublic Future<UpdateClusterResult> updateClusterAsync(UpdateClusterRequest request, AsyncHandler<UpdateClusterRequest,UpdateClusterResult> asyncHandler)
AmazonDaxAsyncModifies the settings for a DAX cluster. You can use this action to change one or more cluster configuration parameters by specifying the parameters and the new values.
updateClusterAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateParameterGroupResult> updateParameterGroupAsync(UpdateParameterGroupRequest request)
AmazonDaxAsyncModifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
updateParameterGroupAsync in interface AmazonDaxAsyncpublic Future<UpdateParameterGroupResult> updateParameterGroupAsync(UpdateParameterGroupRequest request, AsyncHandler<UpdateParameterGroupRequest,UpdateParameterGroupResult> asyncHandler)
AmazonDaxAsyncModifies the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
updateParameterGroupAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSubnetGroupResult> updateSubnetGroupAsync(UpdateSubnetGroupRequest request)
AmazonDaxAsyncModifies an existing subnet group.
updateSubnetGroupAsync in interface AmazonDaxAsyncpublic Future<UpdateSubnetGroupResult> updateSubnetGroupAsync(UpdateSubnetGroupRequest request, AsyncHandler<UpdateSubnetGroupRequest,UpdateSubnetGroupResult> asyncHandler)
AmazonDaxAsyncModifies an existing subnet group.
updateSubnetGroupAsync in interface AmazonDaxAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonDaxshutdown in class AmazonDaxClient