Interface ExecutorServiceSupplierObserver
public interface ExecutorServiceSupplierObserver
Behavior for observers of the various executor service suppliers.
 
This component identifies suppliers to observers using:
- the supplier itself,
- the supplier category (scheduled, server, ad-hoc), and
- the index of this supplier among suppliers in the same category.
- the executor service itself, and
- the index of the executor service among those from the same supplier.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContext with which suppliers (or their surrogates) interact with observers.
- 
Method SummaryModifier and TypeMethodDescriptionregisterSupplier(Supplier<? extends ExecutorService> supplier, int supplierIndex, String supplierCategory) Makes a supplier known to the observer and returns a supplier context for the supplier to use for future interactions with the observer.
- 
Method Details- 
registerSupplierExecutorServiceSupplierObserver.SupplierObserverContext registerSupplier(Supplier<? extends ExecutorService> supplier, int supplierIndex, String supplierCategory) Makes a supplier known to the observer and returns a supplier context for the supplier to use for future interactions with the observer.- Parameters:
- supplier- the executor service supplier registering with the observer
- supplierIndex- unique index across suppliers with the same name
- supplierCategory- supplier category for this supplier
- Returns:
- the SupplierObserverContextfor the supplier
 
 
-