| 接口 | 说明 |
|---|---|
| AsyncBatchProcessor.BatchProcessor<T> | |
| StreamForker.Results |
| 类 | 说明 |
|---|---|
| AsyncBatchProcessor<T> | |
| AsyncDelayedExecutor<E> |
Async delayed executor
|
| DelayedData<E> |
Delayed data
|
| MultithreadExecutors |
Multi Thread executor
Thread#stop() will occur "java.lang.ThreadDeath: null" if try...catch wrapped in Throwable |
| NamedThreadFactory |
线程工厂
|
| StreamForker<T> |
The class use in fork
Stream,
from book "Java 8 In Action"
Usage:
Stream<Integer> stream = Stream.of(1, 2, 3, 4, 4, 5, 5);
StreamForker.Results results = new StreamForker<>(stream)
.fork(1, s -> s.max(Integer::compareTo)) // 直接聚合
.fork(2, s -> s.distinct().reduce(0, Integer::sum))
.getResults();
|
| ThreadPoolExecutors |
Thread pool executor utility
Multiple Thread
|
| ThreadPoolMonitor |
线程池监控信息
|
| Threads |
Thread Utilities
|
| TracedRunnable |
Traced runnable
|
Copyright © 2022. All rights reserved.