程序包 | 说明 |
---|---|
com.sinacloud.scs.event | |
com.sinacloud.scs.services.scs.model |
Classes modeling the various types represented by Amazon S3.
|
com.sinacloud.scs.services.scs.transfer |
Transfer management.
|
com.sinacloud.scs.services.scs.transfer.internal |
限定符和类型 | 类和说明 |
---|---|
class |
ProgressListenerChain
An implementation of ProgressListener interface that delegates
progressChanged callback to multiple listeners.
|
限定符和类型 | 方法和说明 |
---|---|
void |
ProgressListenerChain.addProgressListener(ProgressListener listener) |
void |
ProgressListenerChain.removeProgressListener(ProgressListener listener) |
static ProgressListenerCallbackExecutor |
ProgressListenerCallbackExecutor.wrapListener(ProgressListener listener)
Returns a new ProgressListenerCallbackExecutor instance that wraps the
specified ProgressListener if it is not null, otherwise directly returns
null.
|
构造器和说明 |
---|
ProgressListenerCallbackExecutor(ProgressListener listener) |
ProgressListenerChain(ProgressListener... listeners)
Create a listener chain that directly passes all the progress events to
the specified listeners.
|
ProgressListenerChain(ProgressListenerChain.ProgressEventFilter progressEventFilter,
ProgressListener... listeners)
Create a listener chain with a ProgressEventFilter.
|
限定符和类型 | 类和说明 |
---|---|
class |
LegacyS3ProgressListener
A proxy class that wraps the deprecated S3 progress listener and implements
the new
com.sina.event.ProgressListener interface. |
限定符和类型 | 方法和说明 |
---|---|
ProgressListener |
UploadPartRequest.getGeneralProgressListener()
Returns the optional progress listener for receiving updates about object
download status.
|
ProgressListener |
PutObjectRelaxRequest.getGeneralProgressListener()
Returns the optional progress listener for receiving updates about object
download status.
|
ProgressListener |
PutObjectRequest.getGeneralProgressListener()
Returns the optional progress listener for receiving updates about object
download status.
|
ProgressListener |
GetObjectRequest.getGeneralProgressListener()
Returns the optional progress listener for receiving updates about object
download status.
|
限定符和类型 | 方法和说明 |
---|---|
void |
UploadPartRequest.setGeneralProgressListener(ProgressListener generalProgressListener)
Sets the optional progress listener for receiving updates about object
download status.
|
void |
PutObjectRelaxRequest.setGeneralProgressListener(ProgressListener generalProgressListener)
Sets the optional progress listener for receiving updates about object
download status.
|
void |
PutObjectRequest.setGeneralProgressListener(ProgressListener generalProgressListener)
Sets the optional progress listener for receiving updates about object
download status.
|
void |
GetObjectRequest.setGeneralProgressListener(ProgressListener generalProgressListener)
Sets the optional progress listener for receiving updates about object
download status.
|
UploadPartRequest |
UploadPartRequest.withGeneralProgressListener(ProgressListener progressListener)
Sets the optional progress listener for receiving updates about object
upload status, and returns this updated object so that additional method
calls can be chained together.
|
PutObjectRelaxRequest |
PutObjectRelaxRequest.withGeneralProgressListener(ProgressListener generalProgressListener)
Sets the optional progress listener for receiving updates about object
upload status, and returns this updated object so that additional method
calls can be chained together.
|
PutObjectRequest |
PutObjectRequest.withGeneralProgressListener(ProgressListener generalProgressListener)
Sets the optional progress listener for receiving updates about object
upload status, and returns this updated object so that additional method
calls can be chained together.
|
GetObjectRequest |
GetObjectRequest.withGeneralProgressListener(ProgressListener progressListener)
Sets the optional progress listener for receiving updates about object
download status, and returns this updated object so that additional method
calls can be chained together.
|
限定符和类型 | 方法和说明 |
---|---|
void |
Transfer.addProgressListener(ProgressListener listener)
Adds the specified progress listener to the list of listeners
receiving updates about this transfer's progress.
|
void |
Transfer.removeProgressListener(ProgressListener listener)
Removes the specified progress listener from the list of progress
listeners receiving updates about this transfer's progress.
|
限定符和类型 | 类和说明 |
---|---|
class |
TransferProgressUpdatingListener |
限定符和类型 | 方法和说明 |
---|---|
void |
AbstractTransfer.addProgressListener(ProgressListener listener)
Adds the specified progress listener to the list of listeners
receiving updates about this transfer's progress.
|
void |
AbstractTransfer.removeProgressListener(ProgressListener listener)
Removes the specified progress listener from the list of progress
listeners receiving updates about this transfer's progress.
|
Copyright © 2016. All rights reserved.