Uses of Class
org.refcodes.serial.ext.observer.ObservablePayloadSectionDecorator
-
Uses of ObservablePayloadSectionDecorator in org.refcodes.serial.ext.observer
Methods in org.refcodes.serial.ext.observer that return ObservablePayloadSectionDecorator Modifier and Type Method Description static <T> ObservablePayloadSectionDecorator<T>
ObservableSerialSugar. observablePayloadSectionDecorator(org.refcodes.serial.PayloadSection<T> aDecoratee)
Constructs aObservablePayloadSection
wrapping the givenPayloadSection
decoratee and using a defaultExecutorService
and dispatching events in sequentially (as ofExecutionStrategy.SEQUENTIAL
).static <T> ObservablePayloadSectionDecorator<T>
ObservableSerialSugar. observablePayloadSectionDecorator(org.refcodes.serial.PayloadSection<T> aDecoratee, ExecutorService aExecutorService, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
Constructs aObservablePayloadSection
wrapping the givenPayloadSection
decoratee and using the providedExecutorService
when dispatching events in parallel (as ofExecutionStrategy.PARALLEL
andExecutionStrategy.JOIN
) and using the givenExecutionStrategy
when dispatching the events.static <T> ObservablePayloadSectionDecorator<T>
ObservableSerialSugar. observablePayloadSectionDecorator(org.refcodes.serial.PayloadSection<T> aDecoratee, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
Constructs aObservablePayloadSection
wrapping the givenPayloadSection
decoratee and using the providedExecutionStrategy
when dispatching the events.