public interface ProgressListener
This class could be used for both Amazon S3 and Amazon Glacier clients. The legacy Amazon S3 progress listener com.amazonaws.services.s3.model.ProgressListener has been deprecated in favor of this new class.
ProgressEvent
限定符和类型 | 方法和说明 |
---|---|
void |
progressChanged(ProgressEvent progressEvent)
Called when progress has changed, such as additional bytes transferred,
transfer failed, etc.
|
void progressChanged(ProgressEvent progressEvent)
ProgressListenerCallbackExecutor
class, which maintains a single thread
to sequentially execute all progressChanged callbacks.progressEvent
- The event describing the progress change.ProgressListenerCallbackExecutor
Copyright © 2016. All rights reserved.