Package | Description |
---|---|
org.apache.hadoop.hbase.executor |
Modifier and Type | Method and Description |
---|---|
ExecutorService.ExecutorConfig |
ExecutorService.ExecutorConfig.setAllowCoreThreadTimeout(boolean allowCoreThreadTimeout)
Allows timing out of core threads.
|
ExecutorService.ExecutorConfig |
ExecutorService.ExecutorConfig.setCorePoolSize(int corePoolSize) |
ExecutorService.ExecutorConfig |
ExecutorService.ExecutorConfig.setExecutorType(ExecutorType type) |
ExecutorService.ExecutorConfig |
ExecutorService.ExecutorConfig.setKeepAliveTimeMillis(long keepAliveTimeMillis) |
Modifier and Type | Method and Description |
---|---|
ThreadPoolExecutor |
ExecutorService.getExecutorLazily(ExecutorService.ExecutorConfig config)
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(ExecutorConfig) |
void |
ExecutorService.startExecutorService(ExecutorService.ExecutorConfig config)
Start an executor service with a given name.
|
Constructor and Description |
---|
Executor(ExecutorService.ExecutorConfig config) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.