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