@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonCloudFrontKeyValueStoreAsyncClient extends AmazonCloudFrontKeyValueStoreClient implements AmazonCloudFrontKeyValueStoreAsync
AsyncHandler can be used to
receive notification when an asynchronous operation completes.
Amazon CloudFront KeyValueStore Service to View and Update Data in a KVS Resource
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonCloudFrontKeyValueStoreAsyncClientBuilder |
asyncBuilder() |
Future<DeleteKeyResult> |
deleteKeyAsync(DeleteKeyRequest request)
Deletes the key value pair specified by the key.
|
Future<DeleteKeyResult> |
deleteKeyAsync(DeleteKeyRequest request,
AsyncHandler<DeleteKeyRequest,DeleteKeyResult> asyncHandler)
Deletes the key value pair specified by the key.
|
Future<DescribeKeyValueStoreResult> |
describeKeyValueStoreAsync(DescribeKeyValueStoreRequest request)
Returns metadata information about Key Value Store.
|
Future<DescribeKeyValueStoreResult> |
describeKeyValueStoreAsync(DescribeKeyValueStoreRequest request,
AsyncHandler<DescribeKeyValueStoreRequest,DescribeKeyValueStoreResult> asyncHandler)
Returns metadata information about Key Value Store.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetKeyResult> |
getKeyAsync(GetKeyRequest request)
Returns a key value pair.
|
Future<GetKeyResult> |
getKeyAsync(GetKeyRequest request,
AsyncHandler<GetKeyRequest,GetKeyResult> asyncHandler)
Returns a key value pair.
|
Future<ListKeysResult> |
listKeysAsync(ListKeysRequest request)
Returns a list of key value pairs.
|
Future<ListKeysResult> |
listKeysAsync(ListKeysRequest request,
AsyncHandler<ListKeysRequest,ListKeysResult> asyncHandler)
Returns a list of key value pairs.
|
Future<PutKeyResult> |
putKeyAsync(PutKeyRequest request)
Creates a new key value pair or replaces the value of an existing key.
|
Future<PutKeyResult> |
putKeyAsync(PutKeyRequest request,
AsyncHandler<PutKeyRequest,PutKeyResult> asyncHandler)
Creates a new key value pair or replaces the value of an existing key.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<UpdateKeysResult> |
updateKeysAsync(UpdateKeysRequest request)
Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.
|
Future<UpdateKeysResult> |
updateKeysAsync(UpdateKeysRequest request,
AsyncHandler<UpdateKeysRequest,UpdateKeysResult> asyncHandler)
Puts or Deletes multiple key value pairs in a single, all-or-nothing operation.
|
builder, deleteKey, describeKeyValueStore, getCachedResponseMetadata, getKey, listKeys, putKey, updateKeysaddRequestHandler, 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, waitdeleteKey, describeKeyValueStore, getCachedResponseMetadata, getKey, listKeys, putKey, updateKeyspublic static AmazonCloudFrontKeyValueStoreAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeleteKeyResult> deleteKeyAsync(DeleteKeyRequest request)
AmazonCloudFrontKeyValueStoreAsyncDeletes the key value pair specified by the key.
deleteKeyAsync in interface AmazonCloudFrontKeyValueStoreAsyncpublic Future<DeleteKeyResult> deleteKeyAsync(DeleteKeyRequest request, AsyncHandler<DeleteKeyRequest,DeleteKeyResult> asyncHandler)
AmazonCloudFrontKeyValueStoreAsyncDeletes the key value pair specified by the key.
deleteKeyAsync in interface AmazonCloudFrontKeyValueStoreAsyncasyncHandler - 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<DescribeKeyValueStoreResult> describeKeyValueStoreAsync(DescribeKeyValueStoreRequest request)
AmazonCloudFrontKeyValueStoreAsyncReturns metadata information about Key Value Store.
describeKeyValueStoreAsync in interface AmazonCloudFrontKeyValueStoreAsyncpublic Future<DescribeKeyValueStoreResult> describeKeyValueStoreAsync(DescribeKeyValueStoreRequest request, AsyncHandler<DescribeKeyValueStoreRequest,DescribeKeyValueStoreResult> asyncHandler)
AmazonCloudFrontKeyValueStoreAsyncReturns metadata information about Key Value Store.
describeKeyValueStoreAsync in interface AmazonCloudFrontKeyValueStoreAsyncasyncHandler - 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<GetKeyResult> getKeyAsync(GetKeyRequest request)
AmazonCloudFrontKeyValueStoreAsyncReturns a key value pair.
getKeyAsync in interface AmazonCloudFrontKeyValueStoreAsyncpublic Future<GetKeyResult> getKeyAsync(GetKeyRequest request, AsyncHandler<GetKeyRequest,GetKeyResult> asyncHandler)
AmazonCloudFrontKeyValueStoreAsyncReturns a key value pair.
getKeyAsync in interface AmazonCloudFrontKeyValueStoreAsyncasyncHandler - 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<ListKeysResult> listKeysAsync(ListKeysRequest request)
AmazonCloudFrontKeyValueStoreAsyncReturns a list of key value pairs.
listKeysAsync in interface AmazonCloudFrontKeyValueStoreAsyncpublic Future<ListKeysResult> listKeysAsync(ListKeysRequest request, AsyncHandler<ListKeysRequest,ListKeysResult> asyncHandler)
AmazonCloudFrontKeyValueStoreAsyncReturns a list of key value pairs.
listKeysAsync in interface AmazonCloudFrontKeyValueStoreAsyncasyncHandler - 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<PutKeyResult> putKeyAsync(PutKeyRequest request)
AmazonCloudFrontKeyValueStoreAsyncCreates a new key value pair or replaces the value of an existing key.
putKeyAsync in interface AmazonCloudFrontKeyValueStoreAsyncrequest - A key value pair.public Future<PutKeyResult> putKeyAsync(PutKeyRequest request, AsyncHandler<PutKeyRequest,PutKeyResult> asyncHandler)
AmazonCloudFrontKeyValueStoreAsyncCreates a new key value pair or replaces the value of an existing key.
putKeyAsync in interface AmazonCloudFrontKeyValueStoreAsyncrequest - A key value pair.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateKeysResult> updateKeysAsync(UpdateKeysRequest request)
AmazonCloudFrontKeyValueStoreAsyncPuts or Deletes multiple key value pairs in a single, all-or-nothing operation.
updateKeysAsync in interface AmazonCloudFrontKeyValueStoreAsyncpublic Future<UpdateKeysResult> updateKeysAsync(UpdateKeysRequest request, AsyncHandler<UpdateKeysRequest,UpdateKeysResult> asyncHandler)
AmazonCloudFrontKeyValueStoreAsyncPuts or Deletes multiple key value pairs in a single, all-or-nothing operation.
updateKeysAsync in interface AmazonCloudFrontKeyValueStoreAsyncasyncHandler - 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 AmazonCloudFrontKeyValueStoreshutdown in class AmazonCloudFrontKeyValueStoreClient