@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface TezExecutors
| Modifier and Type | Method and Description |
|---|---|
ExecutorService |
createExecutorService(int parallelism,
String threadNameFormat)
Create a ExecutorService with the given parameters.
|
void |
shutdown()
Shutdown all the ExecutorService created using this factory.
|
void |
shutdownNow()
Shutdown all the ExecutorService created using this factory.
|
ExecutorService createExecutorService(int parallelism, String threadNameFormat)
parallelism - Represents total number of tasks to be executed in parallel.threadNameFormat - The name the thread should take when executing tasks from this executorvoid shutdown()
void shutdownNow()
Copyright © 2019 Apache Software Foundation. All rights reserved.