Package | Description |
---|---|
org.apache.hadoop.hbase.executor |
Modifier and Type | Field and Description |
---|---|
private ExecutorType |
EventType.executor |
Modifier and Type | Method and Description |
---|---|
(package private) ExecutorType |
EventType.getExecutorServiceType() |
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 |
---|---|
(package private) ExecutorService.Executor |
ExecutorService.getExecutor(ExecutorType type) |
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) |
Constructor and Description |
---|
EventType(int code,
ExecutorType executor)
Constructor
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.