@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMediaStoreDataAsyncClient extends AWSMediaStoreDataClient implements AWSMediaStoreDataAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon S3 service. Objects are the fundamental entities that are stored in AWS Elemental MediaStore.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSMediaStoreDataAsyncClientBuilder |
asyncBuilder() |
Future<DeleteObjectResult> |
deleteObjectAsync(DeleteObjectRequest request)
Deletes an object at the specified path.
|
Future<DeleteObjectResult> |
deleteObjectAsync(DeleteObjectRequest request,
AsyncHandler<DeleteObjectRequest,DeleteObjectResult> asyncHandler)
Deletes an object at the specified path.
|
Future<DescribeObjectResult> |
describeObjectAsync(DescribeObjectRequest request)
Gets the headers for an object at the specified path.
|
Future<DescribeObjectResult> |
describeObjectAsync(DescribeObjectRequest request,
AsyncHandler<DescribeObjectRequest,DescribeObjectResult> asyncHandler)
Gets the headers for an object at the specified path.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetObjectResult> |
getObjectAsync(GetObjectRequest request)
Downloads the object at the specified path.
|
Future<GetObjectResult> |
getObjectAsync(GetObjectRequest request,
AsyncHandler<GetObjectRequest,GetObjectResult> asyncHandler)
Downloads the object at the specified path.
|
Future<ListItemsResult> |
listItemsAsync(ListItemsRequest request)
Provides a list of metadata entries about folders and objects in the specified folder.
|
Future<ListItemsResult> |
listItemsAsync(ListItemsRequest request,
AsyncHandler<ListItemsRequest,ListItemsResult> asyncHandler)
Provides a list of metadata entries about folders and objects in the specified folder.
|
Future<PutObjectResult> |
putObjectAsync(PutObjectRequest request)
Uploads an object to the specified path.
|
Future<PutObjectResult> |
putObjectAsync(PutObjectRequest request,
AsyncHandler<PutObjectRequest,PutObjectResult> asyncHandler)
Uploads an object to the specified path.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
builder, deleteObject, describeObject, getCachedResponseMetadata, getObject, listItems, putObjectaddRequestHandler, 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, waitdeleteObject, describeObject, getCachedResponseMetadata, getObject, listItems, putObjectpublic static AWSMediaStoreDataAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DeleteObjectResult> deleteObjectAsync(DeleteObjectRequest request)
AWSMediaStoreDataAsyncDeletes an object at the specified path.
deleteObjectAsync in interface AWSMediaStoreDataAsyncpublic Future<DeleteObjectResult> deleteObjectAsync(DeleteObjectRequest request, AsyncHandler<DeleteObjectRequest,DeleteObjectResult> asyncHandler)
AWSMediaStoreDataAsyncDeletes an object at the specified path.
deleteObjectAsync in interface AWSMediaStoreDataAsyncasyncHandler - 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<DescribeObjectResult> describeObjectAsync(DescribeObjectRequest request)
AWSMediaStoreDataAsyncGets the headers for an object at the specified path.
describeObjectAsync in interface AWSMediaStoreDataAsyncpublic Future<DescribeObjectResult> describeObjectAsync(DescribeObjectRequest request, AsyncHandler<DescribeObjectRequest,DescribeObjectResult> asyncHandler)
AWSMediaStoreDataAsyncGets the headers for an object at the specified path.
describeObjectAsync in interface AWSMediaStoreDataAsyncasyncHandler - 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<GetObjectResult> getObjectAsync(GetObjectRequest request)
AWSMediaStoreDataAsync
Downloads the object at the specified path. If the object’s upload availability is set to streaming,
AWS Elemental MediaStore downloads the object even if it’s still uploading the object.
getObjectAsync in interface AWSMediaStoreDataAsyncpublic Future<GetObjectResult> getObjectAsync(GetObjectRequest request, AsyncHandler<GetObjectRequest,GetObjectResult> asyncHandler)
AWSMediaStoreDataAsync
Downloads the object at the specified path. If the object’s upload availability is set to streaming,
AWS Elemental MediaStore downloads the object even if it’s still uploading the object.
getObjectAsync in interface AWSMediaStoreDataAsyncasyncHandler - 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<ListItemsResult> listItemsAsync(ListItemsRequest request)
AWSMediaStoreDataAsyncProvides a list of metadata entries about folders and objects in the specified folder.
listItemsAsync in interface AWSMediaStoreDataAsyncpublic Future<ListItemsResult> listItemsAsync(ListItemsRequest request, AsyncHandler<ListItemsRequest,ListItemsResult> asyncHandler)
AWSMediaStoreDataAsyncProvides a list of metadata entries about folders and objects in the specified folder.
listItemsAsync in interface AWSMediaStoreDataAsyncasyncHandler - 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<PutObjectResult> putObjectAsync(PutObjectRequest request)
AWSMediaStoreDataAsyncUploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.
putObjectAsync in interface AWSMediaStoreDataAsyncpublic Future<PutObjectResult> putObjectAsync(PutObjectRequest request, AsyncHandler<PutObjectRequest,PutObjectResult> asyncHandler)
AWSMediaStoreDataAsyncUploads an object to the specified path. Object sizes are limited to 25 MB for standard upload availability and 10 MB for streaming upload availability.
putObjectAsync in interface AWSMediaStoreDataAsyncasyncHandler - 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 AWSMediaStoreDatashutdown in class AWSMediaStoreDataClient