Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.event | |
com.amazonaws.services.dynamodbv2.document.spec | |
com.amazonaws.services.glacier.transfer | |
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
com.amazonaws.services.s3.transfer |
Transfer management.
|
com.amazonaws.test.util |
Modifier and Type | Method and Description |
---|---|
ProgressListener |
AmazonWebServiceRequest.getGeneralProgressListener()
Returns the optional progress listener for receiving updates about the progress of the
request.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonWebServiceRequest.setGeneralProgressListener(ProgressListener progressListener)
Sets the optional progress listener for receiving updates about the progress of the request.
|
<T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.withGeneralProgressListener(ProgressListener progressListener)
Sets the optional progress listener for receiving updates about the progress of the request,
and returns a reference to this object so that method calls can be chained together.
|
Modifier and Type | Class and Description |
---|---|
static class |
ProgressListener.ExceptionReporter
A utility class for capturing and reporting the first exception thrown by
a given progress listener.
|
static class |
ProgressListener.NoOpProgressListener |
class |
ProgressListenerChain
An implementation of ProgressListener interface that delegates
progressChanged callback to multiple listeners.
|
class |
ProgressTracker
Default implementation for progress tracking.
|
class |
SyncProgressListener
Abstract adapter class for a progress listener that is delivered with
progress event synchronously.
|
Modifier and Type | Field and Description |
---|---|
static ProgressListener |
ProgressListener.NOOP |
Modifier and Type | Method and Description |
---|---|
ProgressListener |
ProgressInputStream.getListener() |
Modifier and Type | Method and Description |
---|---|
protected List<ProgressListener> |
ProgressListenerChain.getListeners()
Returns the listeners associated with this listener chain.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgressListenerChain.addProgressListener(ProgressListener listener) |
static boolean |
DeliveryMode.Check.isSyncCallSafe(ProgressListener listener) |
static Future<?> |
SDKProgressPublisher.publishProgress(ProgressListener listener,
ProgressEventType type)
Used to deliver a progress event to the given listener.
|
static Future<?> |
SDKProgressPublisher.publishRequestBytesTransferred(ProgressListener listener,
long bytes)
Convenient method to publish a request byte transfer event to the given
listener.
|
static Future<?> |
SDKProgressPublisher.publishRequestContentLength(ProgressListener listener,
long bytes)
Convenient method to publish a request content length event to the given
listener.
|
static Future<?> |
SDKProgressPublisher.publishRequestReset(ProgressListener listener,
long bytesReset)
Convenient method to publish a request reset event to the given listener.
|
static Future<?> |
SDKProgressPublisher.publishResponseBytesDiscarded(ProgressListener listener,
long bytesDiscarded)
Convenient method to publish a response bytes discard event to the given listener.
|
static Future<?> |
SDKProgressPublisher.publishResponseBytesTransferred(ProgressListener listener,
long bytes)
Convenient method to publish a response byte transfer event to the given
listener.
|
static Future<?> |
SDKProgressPublisher.publishResponseContentLength(ProgressListener listener,
long bytes)
Convenient method to publish a response content length event to the given
listener.
|
static Future<?> |
SDKProgressPublisher.publishResponseReset(ProgressListener listener,
long bytesReset)
Convenient method to publish a response reset event to the given listener.
|
void |
ProgressListenerChain.removeProgressListener(ProgressListener listener) |
static ProgressListener.ExceptionReporter |
ProgressListener.ExceptionReporter.wrap(ProgressListener listener)
Returns a wrapper for the given listener to capture the first
exception thrown.
|
Constructor and Description |
---|
ExceptionReporter(ProgressListener listener) |
ProgressInputStream(InputStream is,
ProgressListener listener) |
ProgressInputStream(InputStream is,
ProgressListener listener,
int notifyThresHold) |
ProgressListenerChain(ProgressEventFilter progressEventFilter,
ProgressListener... listeners)
Create a listener chain with a ProgressEventFilter.
|
ProgressListenerChain(ProgressListener... listeners)
Create a listener chain that directly passes all the progress events to
the specified listeners.
|
Modifier and Type | Method and Description |
---|---|
QuerySpec |
QuerySpec.withProgressListener(ProgressListener progressListener) |
DeleteItemSpec |
DeleteItemSpec.withProgressListener(ProgressListener progressListener) |
PutItemSpec |
PutItemSpec.withProgressListener(ProgressListener progressListener) |
BatchGetItemSpec |
BatchGetItemSpec.withProgressListener(ProgressListener progressListener) |
BatchWriteItemSpec |
BatchWriteItemSpec.withProgressListener(ProgressListener progressListener) |
ScanSpec |
ScanSpec.withProgressListener(ProgressListener progressListener) |
ListTablesSpec |
ListTablesSpec.withProgressListener(ProgressListener progressListener) |
GetItemSpec |
GetItemSpec.withProgressListener(ProgressListener progressListener) |
UpdateItemSpec |
UpdateItemSpec.withProgressListener(ProgressListener progressListener) |
Modifier and Type | Method and Description |
---|---|
void |
ArchiveTransferManager.download(String accountId,
String vaultName,
String archiveId,
File file,
ProgressListener progressListener)
Downloads an archive from Amazon Glacier in the specified vault in the
specified user's account, and saves it to the specified file.
|
void |
ArchiveTransferManager.downloadJobOutput(String accountId,
String vaultName,
String jobId,
File file,
ProgressListener progressListener)
Downloads the job output for the specified job (which must be ready to
download already, and must be a complete archive retrieval, not a partial
range retrieval), into the specified file.
|
UploadResult |
ArchiveTransferManager.upload(String accountId,
String vaultName,
String archiveDescription,
File file,
ProgressListener progressListener)
Uploads the specified file to Amazon Glacier for archival storage in the
specified vault in the specified user's account.
|
Modifier and Type | Class and Description |
---|---|
class |
LegacyS3ProgressListener
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Transfer.addProgressListener(ProgressListener listener)
Adds the specified progress listener to the list of listeners
receiving updates about this transfer's progress.
|
void |
Transfer.removeProgressListener(ProgressListener listener)
Removes the specified progress listener from the list of progress
listeners receiving updates about this transfer's progress.
|
Modifier and Type | Class and Description |
---|---|
class |
ProgressListenerWithEventCodeVerification
Validates the events received by the progress listener.
|
Copyright © 2018. All rights reserved.