public class ExecutorManager extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(ExecutorRunnable runnable,
long timeout,
String name) |
int |
getStartDelay() |
boolean |
isStoped() |
static ExecutorManager |
of(int threadSize) |
void |
setStartDelay(int startDelay) |
void |
setStoped(boolean isStoped) |
void |
shutdown() |
public static ExecutorManager of(int threadSize)
public void execute(ExecutorRunnable runnable, long timeout, String name)
public boolean isStoped()
public void setStoped(boolean isStoped)
public int getStartDelay()
public void setStartDelay(int startDelay)
Copyright © 2019. All rights reserved.