public final class ExecutorEngine extends Object implements AutoCloseable
| 构造器和说明 |
|---|
ExecutorEngine(int executorSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
<I,O> List<O> |
execute(Collection<InputGroup<I>> inputGroups,
GroupedCallback<I,O> callback)
Execute.
|
<I,O> List<O> |
execute(Collection<InputGroup<I>> inputGroups,
GroupedCallback<I,O> firstCallback,
GroupedCallback<I,O> callback,
boolean serial)
Execute.
|
public <I,O> List<O> execute(Collection<InputGroup<I>> inputGroups, GroupedCallback<I,O> callback) throws SQLException
I - type of input valueO - type of return valueinputGroups - input groupscallback - grouped callbackSQLException - throw if execute failurepublic <I,O> List<O> execute(Collection<InputGroup<I>> inputGroups, GroupedCallback<I,O> firstCallback, GroupedCallback<I,O> callback, boolean serial) throws SQLException
I - type of input valueO - type of return valueinputGroups - input groupsfirstCallback - first grouped callbackcallback - other grouped callbackserial - whether using multi thread execute or notSQLException - throw if execute failurepublic void close()
close 在接口中 AutoCloseableCopyright © 2020 The Apache Software Foundation. All rights reserved.