public class QueueExecutorWithReturnsImpl extends Object implements QueueExecutor
| 限定符和类型 | 字段和说明 |
|---|---|
protected Class<?> |
cla |
protected Executor |
executor |
protected int |
poolSize |
protected Map<Object,Queue> |
queueMap |
protected Set<Object> |
runSet |
protected long |
waitTime |
| 限定符 | 构造器和说明 |
|---|---|
|
QueueExecutorWithReturnsImpl(Class<?> cla,
Executor executor) |
protected |
QueueExecutorWithReturnsImpl(Class<?> cla,
int poolSize,
long waitTime,
Executor executor) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
append(Object t,
Object... objects) |
static QueueExecutorWithReturnsImpl |
create(Class<?> cla,
int poolSize,
long waitTime,
Executor executor) |
Object |
execute(Object this_,
Method method,
Object... objects) |
protected void |
getVal(Future future) |
protected void |
init() |
protected <T> void |
matcherAndRun(T t,
Object[] objects,
long startTime,
Object parts) |
<T> int |
QueueExecute(T t,
Object... objects) |
protected <T> void |
runEnd(T t) |
<T extends Runner> |
setAfter(T runner) |
<T extends Runner> |
setBefore(T runner) |
protected <T> void |
tryRun(T t,
Object[] objects) |
protected Class<?> cla
protected Executor executor
protected int poolSize
protected long waitTime
protected void init()
public static QueueExecutorWithReturnsImpl create(Class<?> cla, int poolSize, long waitTime, Executor executor)
public Object execute(Object this_, Method method, Object... objects) throws InvocationTargetException, IllegalAccessException
execute 在接口中 Executorexecute 在接口中 QueueExecutorInvocationTargetExceptionIllegalAccessExceptionpublic <T> int QueueExecute(T t,
Object... objects)
QueueExecute 在接口中 QueueExecutorprotected <T> void tryRun(T t,
Object[] objects)
protected <T> void runEnd(T t)
protected void getVal(Future future)
Copyright © 2021. All rights reserved.