T - the type parameterR - the type parameterpublic class JMTransformProcessor<T,R> extends Object implements JMTransformProcessorInterface<T,R>
| Constructor and Description |
|---|
JMTransformProcessor(java.util.function.BiConsumer<T,JMSubmissionPublisher<? super R>> outputPublisherBiConsumer)
Instantiates a new Jm transform processor.
|
JMTransformProcessor(TransformerInterface<T,R> transformerInterface)
Instantiates a new Jm transform processor.
|
| Modifier and Type | Method and Description |
|---|---|
protected static <I,O> java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> |
getSingleInputPublisherBiConsumer(TransformerInterface<I,O> transformerInterface)
Gets single input publisher bi consumer.
|
void |
onComplete() |
void |
onError(Throwable throwable) |
void |
onNext(T item) |
void |
onSubscribe(Flow.Subscription subscription) |
void |
subscribe(<any> subscriber) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsubscribeAndReturnconsumeWith, subscribeAndReturn, subscribeWithpublic JMTransformProcessor(TransformerInterface<T,R> transformerInterface)
transformerInterface - the transformer interfacepublic JMTransformProcessor(java.util.function.BiConsumer<T,JMSubmissionPublisher<? super R>> outputPublisherBiConsumer)
outputPublisherBiConsumer - the output publisher bi consumerprotected static <I,O> java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> getSingleInputPublisherBiConsumer(TransformerInterface<I,O> transformerInterface)
I - the type parameterO - the type parametertransformerInterface - the transformer interfacepublic void onSubscribe(Flow.Subscription subscription)
public void onNext(T item)
public void onError(Throwable throwable)
public void onComplete()
public void subscribe(<any> subscriber)
Copyright © 2018. All rights reserved.