public class COSProgressListenerChain extends ProgressListenerChain implements COSProgressListener
ProgressListener.ExceptionReporterDeliveryMode.CheckNOOP| 构造器和说明 |
|---|
COSProgressListenerChain(ProgressListener... listeners)
Create a listener chain that directly passes all the progress events to the specified
listeners.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onPersistableTransfer(PersistableTransfer persistableTransfer)
Called when the information to resume an upload/download operation is
available, The execution of the callback of this listener is managed by
COSProgressListener. |
addProgressListener, getListeners, isSyncCallSafe, progressChanged, removeProgressListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprogressChangedpublic COSProgressListenerChain(ProgressListener... listeners)
listeners - only listeners of type COSProgressListener will be notified with the
COS transfer events.public void onPersistableTransfer(PersistableTransfer persistableTransfer)
COSProgressListenerCOSProgressListener. Implementation of this interface should
never block.
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
ExceptionReporter#wrap(ProgressListener).onPersistableTransfer 在接口中 COSProgressListenerpersistableTransfer - A non null opaque token used to resume an upload or download.COSProgressListener,
ExceptionReporterCopyright © 2017. All rights reserved.