Uses of Class
org.refcodes.serial.ext.observer.ObservableSectionDecorator
-
Uses of ObservableSectionDecorator in org.refcodes.serial.ext.observer
Methods in org.refcodes.serial.ext.observer that return ObservableSectionDecoratorModifier and TypeMethodDescriptionstatic <DECORATEE extends org.refcodes.serial.Section>
ObservableSectionDecorator<DECORATEE>ObservableSerialSugar.observableSection
(DECORATEE aDecoratee) Constructs aObservableSection
wrapping the givenSection
decoratee and using a defaultExecutorService
and dispatching events in sequentially (as ofExecutionStrategy.SEQUENTIAL
).static <DECORATEE extends org.refcodes.serial.Section>
ObservableSectionDecorator<DECORATEE>ObservableSerialSugar.observableSection
(DECORATEE aDecoratee, ExecutorService aExecutorService, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) Constructs aObservableSection
wrapping the givenSection
decoratee and using the providedExecutorService
when dispatching events in parallel (as ofExecutionStrategy.PARALLEL
andExecutionStrategy.JOIN
) and using the givenExecutionStrategy
when dispatching the events.static <DECORATEE extends org.refcodes.serial.Section>
ObservableSectionDecorator<DECORATEE>ObservableSerialSugar.observableSection
(DECORATEE aDecoratee, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) Constructs aObservableSection
wrapping the givenSection
decoratee and using the providedExecutionStrategy
when dispatching the events.