public abstract class S3BaseTask extends Object
Modifier and Type | Class and Description |
---|---|
static class |
S3BaseTask.OpTag
Enum for tagging the http request to target for
different threadpools for handling.
|
static class |
S3BaseTask.OpType
Enum indicating name of S3 API handling per http request.
|
Modifier and Type | Field and Description |
---|---|
protected S3Handler |
mHandler |
protected S3BaseTask.OpType |
mOPType |
Constructor and Description |
---|
S3BaseTask(S3Handler handler,
S3BaseTask.OpType opType)
Instantiate a S3BaseTask.
|
Modifier and Type | Method and Description |
---|---|
abstract javax.ws.rs.core.Response |
continueTask()
Run core S3 API logic from different S3 task.
|
S3BaseTask.OpType |
getOPType()
Return the OpType (S3 API enum).
|
void |
handleTaskAsync()
Run S3 API logic in a customized async way, e.g.
|
protected S3Handler mHandler
protected S3BaseTask.OpType mOPType
public S3BaseTask(S3Handler handler, S3BaseTask.OpType opType)
handler
- S3Handler objectopType
- the enum indicate the S3 API namepublic S3BaseTask.OpType getOPType()
public abstract javax.ws.rs.core.Response continueTask()
public void handleTaskAsync()
Copyright © 2023. All Rights Reserved.