public class TaskExecutors
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static java.util.concurrent.ThreadPoolExecutor |
COMMAND_EXECUTOR |
static java.util.concurrent.ThreadPoolExecutor |
DOWNLOAD_EXECUTOR |
static int |
DOWNLOAD_THREAD_COUNT |
static com.tencent.qcloud.core.task.UIThreadExecutor |
UI_THREAD_EXECUTOR |
static java.util.concurrent.ThreadPoolExecutor |
UPLOAD_EXECUTOR |
static int |
UPLOAD_THREAD_COUNT |
构造器和说明 |
---|
TaskExecutors() |
限定符和类型 | 方法和说明 |
---|---|
static void |
initExecutor(int uploadMaxThreadCount,
int downloadMaxThreadCount) |
public static int UPLOAD_THREAD_COUNT
public static int DOWNLOAD_THREAD_COUNT
public static final java.util.concurrent.ThreadPoolExecutor COMMAND_EXECUTOR
public static java.util.concurrent.ThreadPoolExecutor UPLOAD_EXECUTOR
public static java.util.concurrent.ThreadPoolExecutor DOWNLOAD_EXECUTOR
public static final com.tencent.qcloud.core.task.UIThreadExecutor UI_THREAD_EXECUTOR