public static class TickerBatchInvoker.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
<K,V> TickerBatchInvoker<K,V> |
build(com.github.phantomthief.util.ThrowableFunction<Collection<K>,Map<K,V>,? extends Throwable> batchInvoker) |
TickerBatchInvoker.Builder |
executor(Executor executor) |
TickerBatchInvoker.Builder |
threads(int nThreads) |
TickerBatchInvoker.Builder |
ticker(long time,
TimeUnit unit) |
public TickerBatchInvoker.Builder ticker(long time, TimeUnit unit)
public TickerBatchInvoker.Builder executor(Executor executor)
public TickerBatchInvoker.Builder threads(int nThreads)
public <K,V> TickerBatchInvoker<K,V> build(com.github.phantomthief.util.ThrowableFunction<Collection<K>,Map<K,V>,? extends Throwable> batchInvoker)
Copyright © 2019. All rights reserved.