Class TransferListenerInvoker
java.lang.Object
software.amazon.awssdk.transfer.s3.internal.progress.TransferListenerInvoker
- All Implemented Interfaces:
TransferListener
An SDK-internal helper class that composes multiple provided
TransferListeners together into a single logical chain.
Invocations on TransferListenerInvoker will be delegated to the underlying chain, while suppressing (and logging) any
exceptions that are thrown.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.transfer.s3.progress.TransferListener
TransferListener.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdditional bytes have been submitted or received.voidThe transfer has completed successfully.voidThe transfer failed.voidA new transfer has been initiated.
-
Constructor Details
-
TransferListenerInvoker
-
-
Method Details
-
transferInitiated
Description copied from interface:TransferListenerA new transfer has been initiated. This method is called exactly once per transfer.Available context attributes:
- Specified by:
transferInitiatedin interfaceTransferListener
-
bytesTransferred
Description copied from interface:TransferListenerAdditional bytes have been submitted or received. This method may be called many times per transfer, depending on the transfer size and I/O buffer sizes.Available context attributes:
- Specified by:
bytesTransferredin interfaceTransferListener
-
transferComplete
Description copied from interface:TransferListenerThe transfer has completed successfully. This method is called exactly once for a successful transfer.Available context attributes:
- Specified by:
transferCompletein interfaceTransferListener
-
transferFailed
Description copied from interface:TransferListenerThe transfer failed. This method is called exactly once for a failed transfer.Available context attributes:
- Specified by:
transferFailedin interfaceTransferListener
-