R
- 结果类型public static class RecyclableBatchThreadPoolExecutor.Warp<R> extends Object
Modifier and Type | Method and Description |
---|---|
RecyclableBatchThreadPoolExecutor.Warp<R> |
execute()
执行
|
R |
get()
获取结果
|
static <R> RecyclableBatchThreadPoolExecutor.Warp<R> |
of(Supplier<R> supplier)
创建Warp
|
public static <R> RecyclableBatchThreadPoolExecutor.Warp<R> of(Supplier<R> supplier)
R
- 结果类型supplier
- 执行逻辑public R get()
public RecyclableBatchThreadPoolExecutor.Warp<R> execute()
Copyright © 2025. All rights reserved.