DeliveryMode
, ProgressListener
public class ProgressListenerWithEventCodeVerification extends SyncProgressListener
DeliveryMode.Check
ProgressListener.ExceptionReporter, ProgressListener.NoOpProgressListener
NOOP
Constructor | Description |
---|---|
ProgressListenerWithEventCodeVerification(ProgressEventType... types) |
Modifier and Type | Method | Description |
---|---|---|
void |
progressChanged(ProgressEvent progressEvent) |
Called when progress has changed, such as additional bytes transferred,
transfer failed, etc.
|
void |
reset() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isSyncCallSafe
public ProgressListenerWithEventCodeVerification(ProgressEventType... types)
public void progressChanged(ProgressEvent progressEvent)
ProgressListener
SdkProgressPublisher
. Implementation of this interface
should never block.
If the implementation follows the best practice and doesn't block, it
should then extends from SyncProgressListener
.
Note any exception thrown by the listener will get ignored.
Should there be need to capture any such exception, you may consider
wrapping the listener with ProgressListener.ExceptionReporter.wrap(ProgressListener)
.
progressEvent
- The event describing the progress change.SdkProgressPublisher
,
ProgressListener.ExceptionReporter
public void reset()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.