public interface ExecutorSelector
ExecutorService
to run an operation on.Modifier and Type | Method and Description |
---|---|
Optional<ExecutorService> |
select(MethodReference method)
Select an
ExecutorService for the given MethodReference . |
Optional<ExecutorService> select(MethodReference method)
ExecutorService
for the given MethodReference
.method
- The MethodReference
ExecutorService
. If an ExecutorService
cannot be established
Optional.empty()
is returned