public interface ProgressListener
This class could be used for both Amazon S3 and Amazon Glacier clients. The legacy Amazon S3 progress listener com.ibm.cloud.objectstorage.services.s3.model.ProgressListener has been deprecated in favor of this new class.
|Modifier and Type||Interface and Description|
A utility class for capturing and reporting the first exception thrown by a given progress listener.
static final ProgressListener NOOP
void progressChanged(ProgressEvent progressEvent)
SDKProgressPublisher. Implementation of this interface should never block.
If the implementation follows the best practice and doesn't block, it
should then extends from
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
Copyright © 2023. All rights reserved.