Interface ExecutorServiceBuilder

All Superinterfaces:
BiFunction<AxonServerConfiguration,BlockingQueue<Runnable>,ExecutorService>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

A Functional Interface towards a BiFunction which ingests both an AxonServerConfiguration and a BlockingQueue of Runnable, and outputs an ExecutorService. Provides a means to allow configuration of the used ExecutorService in for example the AxonServerCommandBus, but maintaining the option for the framework to provide a BlockingQueue which is tailored towards message prioritization when building the executor.
Since:
4.2
Author:
Steven van Beelen