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 ObservablePayloadSectionDecoratorModifier and TypeMethodDescriptionstatic <T> ObservablePayloadSectionDecorator<T>ObservableSerialSugar.observablePayloadSectionDecorator(org.refcodes.serial.PayloadSection<T> aDecoratee) Constructs aObservablePayloadSectionwrapping the givenPayloadSectiondecoratee and using a defaultExecutorServiceand 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 aObservablePayloadSectionwrapping the givenPayloadSectiondecoratee and using the providedExecutorServicewhen dispatching events in parallel (as ofExecutionStrategy.PARALLELandExecutionStrategy.JOIN) and using the givenExecutionStrategywhen dispatching the events.static <T> ObservablePayloadSectionDecorator<T>ObservableSerialSugar.observablePayloadSectionDecorator(org.refcodes.serial.PayloadSection<T> aDecoratee, org.refcodes.controlflow.ExecutionStrategy aExecutionStrategy) Constructs aObservablePayloadSectionwrapping the givenPayloadSectiondecoratee and using the providedExecutionStrategywhen dispatching the events.