Uses of Class
org.refcodes.serial.ext.observer.ObservableSegmentDecorator
-
Uses of ObservableSegmentDecorator in org.refcodes.serial.ext.observer
Methods in org.refcodes.serial.ext.observer that return ObservableSegmentDecorator Modifier and Type Method Description static <DECORATEE extends org.refcodes.serial.Segment>
ObservableSegmentDecorator<DECORATEE>ObservableSerialSugar. observableSegment(DECORATEE aDecoratee)
Constructs aObservableSegment
wrapping the givenSegment
decoratee and using a defaultExecutorService
and dispatching events in sequentially (as ofExecutionStrategy.SEQUENTIAL
).static <DECORATEE extends org.refcodes.serial.Segment>
ObservableSegmentDecorator<DECORATEE>ObservableSerialSugar. observableSegment(DECORATEE aDecoratee, ExecutorService aExecutorService, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
Constructs aObservableSegment
wrapping the givenSegment
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.Segment>
ObservableSegmentDecorator<DECORATEE>ObservableSerialSugar. observableSegment(DECORATEE aDecoratee, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy)
Constructs aObservableSegment
wrapping the givenSegment
decoratee and using the providedExecutionStrategy
when dispatching the events.