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 ObservableSegmentDecoratorModifier and TypeMethodDescriptionstatic <DECORATEE extends org.refcodes.serial.Segment>
ObservableSegmentDecorator<DECORATEE>ObservableSerialSugar.observableSegment(DECORATEE aDecoratee) Constructs aObservableSegmentwrapping the givenSegmentdecoratee and using a defaultExecutorServiceand 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 aObservableSegmentwrapping the givenSegmentdecoratee and using the providedExecutorServicewhen dispatching events in parallel (as ofExecutionStrategy.PARALLELandExecutionStrategy.JOIN) and using the givenExecutionStrategywhen dispatching the events.static <DECORATEE extends org.refcodes.serial.Segment>
ObservableSegmentDecorator<DECORATEE>ObservableSerialSugar.observableSegment(DECORATEE aDecoratee, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) Constructs aObservableSegmentwrapping the givenSegmentdecoratee and using the providedExecutionStrategywhen dispatching the events.