public abstract class AbstractBulkRequest extends GenericRequest
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
bucketName |
protected TaskProgressListener |
listener |
protected int |
taskProgressInterval |
protected int |
taskQueueNum |
protected int |
taskThreadNum |
| 构造器和说明 |
|---|
AbstractBulkRequest() |
AbstractBulkRequest(String bucketName) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBucketName()
Obtain the bucket name.
|
int |
getProgressInterval()
Obtain the callback threshold of the task progress listener.
|
TaskProgressListener |
getProgressListener()
Obtain the progress listener of the bulk task.
|
int |
getTaskQueueNum()
Obtain the queue length of the bulk task.
|
int |
getTaskThreadNum()
Obtain the maximum number of concurrent bulk tasks.
|
void |
setBucketName(String bucketName)
Set the bucket name.
|
void |
setProgressInterval(int taskProgressInterval)
Set the callback threshold of the task progress listener.
|
void |
setProgressListener(TaskProgressListener listener)
Set the progress listener of the bulk task.
|
void |
setTaskQueueNum(int taskQueueNum)
Set the task queue length of the thread pool in the bulk task.
|
void |
setTaskThreadNum(int taskThreadNum)
Set the maximum number of concurrent bulk tasks.
|
isRequesterPays, setRequesterPays, toStringprotected String bucketName
protected TaskProgressListener listener
protected int taskThreadNum
protected int taskQueueNum
protected int taskProgressInterval
public AbstractBulkRequest()
public AbstractBulkRequest(String bucketName)
public String getBucketName()
public void setBucketName(String bucketName)
bucketName - Bucket namepublic TaskProgressListener getProgressListener()
public void setProgressListener(TaskProgressListener listener)
listener - Progress listenerpublic int getTaskThreadNum()
public void setTaskThreadNum(int taskThreadNum)
taskThreadNum - Maximum number of threadspublic int getTaskQueueNum()
public void setTaskQueueNum(int taskQueueNum)
taskQueueNum - Length of the task queuepublic int getProgressInterval()
public void setProgressInterval(int taskProgressInterval)
taskProgressInterval - Callback threshold of the task progress listenerCopyright © 2021. All rights reserved.