public class TaskCollector extends Object
Constructor and Description |
---|
TaskCollector(ExecutorService dispatch) |
Modifier and Type | Method and Description |
---|---|
Tuple |
collect()
收集结果
|
TaskCollector |
tasks(Callable<?>... tasks)
执行任务
|
public TaskCollector(ExecutorService dispatch)
public TaskCollector tasks(Callable<?>... tasks)
tasks
- taskpublic Tuple collect()
Copyright © 2024. All rights reserved.