-
public final class ExecutionPool
-
-
Field Summary
Fields Modifier and Type Field Description private AtomicIntegermaxSize
-
Constructor Summary
Constructors Constructor Description ExecutionPool(Integer size, Function1<KumulusMessage, Unit> threadFun)
-
Method Summary
Modifier and Type Method Description final Unitenqueue(KumulusMessage message)final AtomicIntegergetMaxSize()final UnitsetMaxSize(AtomicInteger maxSize)-
-
Constructor Detail
-
ExecutionPool
ExecutionPool(Integer size, Function1<KumulusMessage, Unit> threadFun)
-
-
Method Detail
-
enqueue
final Unit enqueue(KumulusMessage message)
-
getMaxSize
final AtomicInteger getMaxSize()
-
setMaxSize
final Unit setMaxSize(AtomicInteger maxSize)
-
-
-
-