@Internal public class RunHolder extends java.lang.Object
| 构造器和说明 |
|---|
RunHolder() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.concurrent.ExecutorService |
getParallelExecutor()
获取并行执行器
|
java.util.concurrent.ScheduledExecutorService |
getScheduledExecutor()
获取调度执行器
|
void |
setParallelExecutor(java.util.concurrent.ExecutorService executor)
设置并行执行器
|
void |
setScheduledExecutor(java.util.concurrent.ScheduledExecutorService executor)
设置调度执行器
|
void |
shutdown()
停止
|
public java.util.concurrent.ExecutorService getParallelExecutor()
public java.util.concurrent.ScheduledExecutorService getScheduledExecutor()
public void setScheduledExecutor(java.util.concurrent.ScheduledExecutorService executor)
public void setParallelExecutor(java.util.concurrent.ExecutorService executor)
public void shutdown()