| Package | Description |
|---|---|
| org.apache.hadoop.hbase.executor |
| Modifier and Type | Method and Description |
|---|---|
static ExecutorType |
ExecutorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutorType[] |
ExecutorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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–2020 The Apache Software Foundation. All rights reserved.