@FunctionalInterface public interface ExecutorProvider
ExecutorProviderSPI can be used to provide jOOQ with custom asynchronous execution behaviour.
Asynchronous operations will call back to this SPI to obtain an executor.
This applies, for example, to
The following logic is applied when resolving the appropriate
Configuration.executorProvider()does not return
provide()is called to obtain an
Executorfor the asynchronous task.
ForkJoinPool.commonPool()is used if
Executoris used in any other case.
The SPI will not be called if an asynchronous operation explicitly overrides
Executor, e.g. as is the case for
Copyright © 2018. All Rights Reserved.