Module org.refcodes.controlflow
Package org.refcodes.controlflow
Interface ExecutorServiceAccessor.ExecutorServiceBuilder<B extends ExecutorServiceAccessor.ExecutorServiceBuilder<B>>
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- Enclosing interface:
- ExecutorServiceAccessor
public static interface ExecutorServiceAccessor.ExecutorServiceBuilder<B extends ExecutorServiceAccessor.ExecutorServiceBuilder<B>>
Provides a builder method for a
ExecutorService
property
returning the builder for applying multiple build operations.-
Method Summary
Modifier and TypeMethodDescriptionwithExecutorService
(ExecutorService aExecutorService) Sets theExecutorService
for theExecutorService
property.
-
Method Details
-
withExecutorService
Sets theExecutorService
for theExecutorService
property.- Parameters:
aExecutorService
- TheExecutorService
to be stored by theExecutorService
property.- Returns:
- The builder for applying multiple build operations.
-