ForkJoinMultiThreadProtocolWorker

A simple single-threaded info worker, executing all the callables using ForkJoinPool. The pool will be used even if there are very few callables to execute.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun execute(callables: List<Callable<Unit>>)

Executes the callables collection as defined by the given worker's behavior. The callables may be executed asynchronously and are guaranteed to be thread-safe. It should be noted that all the callables must be called upon, or the protocol breaks.