| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.hbase.executor |
| 限定符和类型 | 方法和说明 |
|---|---|
static ExecutorType |
ExecutorType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ExecutorType[] |
ExecutorType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ThreadPoolExecutor |
ExecutorService.getExecutorLazily(ExecutorType type,
int maxThreads)
Initialize the executor lazily, Note if an executor need to be initialized lazily, then all
paths should use this method to get the executor, should not start executor by using
ExecutorService.startExecutorService(ExecutorType, int) |
ThreadPoolExecutor |
ExecutorService.getExecutorThreadPool(ExecutorType type) |
void |
ExecutorService.startExecutorService(ExecutorType type,
int maxThreads) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.