Uses of Class
org.refcodes.serial.ext.observer.ObservablePayloadSegmentDecorator
-
Uses of ObservablePayloadSegmentDecorator in org.refcodes.serial.ext.observer
Methods in org.refcodes.serial.ext.observer that return ObservablePayloadSegmentDecoratorModifier and TypeMethodDescriptionstatic <T> ObservablePayloadSegmentDecorator<T>ObservableSerialSugar.observablePayloadSegmentDecorator(org.refcodes.serial.PayloadSegment<T> aDecoratee) Constructs aObservablePayloadSegmentwrapping the givenPayloadSegmentdecoratee and using a defaultExecutorServiceand dispatching events in sequentially (as ofExecutionStrategy.SEQUENTIAL).static <T> ObservablePayloadSegmentDecorator<T>ObservableSerialSugar.observablePayloadSegmentDecorator(org.refcodes.serial.PayloadSegment<T> aDecoratee, ExecutorService aExecutorService, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) Constructs aObservablePayloadSegmentwrapping the givenPayloadSegmentdecoratee and using the providedExecutorServicewhen dispatching events in parallel (as ofExecutionStrategy.PARALLELandExecutionStrategy.JOIN) and using the givenExecutionStrategywhen dispatching the events.static <T> ObservablePayloadSegmentDecorator<T>ObservableSerialSugar.observablePayloadSegmentDecorator(org.refcodes.serial.PayloadSegment<T> aDecoratee, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) Constructs aObservablePayloadSegmentwrapping the givenPayloadSegmentdecoratee and using the providedExecutionStrategywhen dispatching the events.