public class JMTransformProcessorBuilder extends Object
| Constructor and Description |
|---|
JMTransformProcessorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static <I,O> JMTransformProcessorInterface<I,O> |
build(java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> singlePublisherBiConsumer)
Build jm transform processor interface.
|
static <I,O> JMTransformProcessor<I,O> |
build(TransformerInterface<I,O> transformer)
Build jm transform processor.
|
static <O,I extends Collection<O>> |
buildCollectionEach()
Build collection each jm transform processor interface.
|
static <O,I extends Collection<O>,R> |
buildCollectionEach(TransformerInterface<O,R> eachTransformer)
Build collection each jm transform processor interface.
|
static <O,I extends Collection<O>> |
buildCollectionEachWithThreadPool()
Build collection each with thread pool jm concurrent transform processor.
|
static <O,I extends Collection<O>> |
buildCollectionEachWithThreadPool(Executor executor,
int maxBufferCapacity)
Build collection each with thread pool jm concurrent transform processor.
|
static <O,I extends Collection<O>,R> |
buildCollectionEachWithThreadPool(Executor executor,
int maxBufferCapacity,
TransformerInterface<O,R> eachTransformer)
Build collection each with thread pool jm concurrent transform processor.
|
static <O,I extends Collection<O>> |
buildCollectionEachWithThreadPool(int maxBufferCapacity)
Build collection each with thread pool jm concurrent transform processor.
|
static <O,I extends Collection<O>,R> |
buildCollectionEachWithThreadPool(int maxBufferCapacity,
TransformerInterface<O,R> eachTransformer)
Build collection each with thread pool jm concurrent transform processor.
|
static <O,I extends Collection<O>,R> |
buildCollectionEachWithThreadPool(TransformerInterface<O,R> eachTransformer)
Build collection each with thread pool jm concurrent transform processor.
|
static <T,M,R> JMTransformProcessorInterface<T,R> |
buildCombine(TransformerInterface<T,M> transformer1,
TransformerInterface<M,R> transformer2)
Build combine jm transform processor interface.
|
static <I,O> JMConcurrentTransformProcessor<I,O> |
buildWithThreadPool(java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> singlePublisherBiConsumer)
Build with thread pool jm concurrent transform processor.
|
static <I,O> JMConcurrentTransformProcessor<I,O> |
buildWithThreadPool(Executor executor,
int maxBufferCapacity,
java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> singlePublisherBiConsumer)
Build with thread pool jm concurrent transform processor.
|
static <I,O> JMConcurrentTransformProcessor<I,O> |
buildWithThreadPool(Executor executor,
int maxBufferCapacity,
TransformerInterface<I,O> transformer)
Build with thread pool jm concurrent transform processor.
|
static <I,O> JMConcurrentTransformProcessor<I,O> |
buildWithThreadPool(int maxBufferCapacity,
java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> singlePublisherBiConsumer)
Build with thread pool jm concurrent transform processor.
|
static <I,O> JMConcurrentTransformProcessor<I,O> |
buildWithThreadPool(int maxBufferCapacity,
TransformerInterface<I,O> transformer)
Build with thread pool jm concurrent transform processor.
|
static <I,O> JMConcurrentTransformProcessor<I,O> |
buildWithThreadPool(TransformerInterface<I,O> transformer)
Build with thread pool jm concurrent transform processor.
|
public static <O,I extends Collection<O>> JMTransformProcessorInterface<I,O> buildCollectionEach()
O - the type parameterI - the type parameterpublic static <O,I extends Collection<O>,R> JMTransformProcessorInterface<I,R> buildCollectionEach(TransformerInterface<O,R> eachTransformer)
O - the type parameterI - the type parameterR - the type parametereachTransformer - the each transformerpublic static <O,I extends Collection<O>> JMConcurrentTransformProcessor<I,O> buildCollectionEachWithThreadPool()
O - the type parameterI - the type parameterpublic static <O,I extends Collection<O>> JMConcurrentTransformProcessor<I,O> buildCollectionEachWithThreadPool(int maxBufferCapacity)
O - the type parameterI - the type parametermaxBufferCapacity - the max buffer capacitypublic static <O,I extends Collection<O>> JMConcurrentTransformProcessor<I,O> buildCollectionEachWithThreadPool(Executor executor, int maxBufferCapacity)
O - the type parameterI - the type parameterexecutor - the executormaxBufferCapacity - the max buffer capacitypublic static <O,I extends Collection<O>,R> JMConcurrentTransformProcessor<I,R> buildCollectionEachWithThreadPool(TransformerInterface<O,R> eachTransformer)
O - the type parameterI - the type parameterR - the type parametereachTransformer - the each transformerpublic static <O,I extends Collection<O>,R> JMConcurrentTransformProcessor<I,R> buildCollectionEachWithThreadPool(int maxBufferCapacity, TransformerInterface<O,R> eachTransformer)
O - the type parameterI - the type parameterR - the type parametermaxBufferCapacity - the max buffer capacityeachTransformer - the each transformerpublic static <O,I extends Collection<O>,R> JMConcurrentTransformProcessor<I,R> buildCollectionEachWithThreadPool(Executor executor, int maxBufferCapacity, TransformerInterface<O,R> eachTransformer)
O - the type parameterI - the type parameterR - the type parameterexecutor - the executormaxBufferCapacity - the max buffer capacityeachTransformer - the each transformerpublic static <I,O> JMTransformProcessorInterface<I,O> build(java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> singlePublisherBiConsumer)
I - the type parameterO - the type parametersinglePublisherBiConsumer - the single publisher bi consumerpublic static <I,O> JMTransformProcessor<I,O> build(TransformerInterface<I,O> transformer)
I - the type parameterO - the type parametertransformer - the transformerpublic static <I,O> JMConcurrentTransformProcessor<I,O> buildWithThreadPool(java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> singlePublisherBiConsumer)
I - the type parameterO - the type parametersinglePublisherBiConsumer - the single publisher bi consumerpublic static <I,O> JMConcurrentTransformProcessor<I,O> buildWithThreadPool(int maxBufferCapacity, java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> singlePublisherBiConsumer)
I - the type parameterO - the type parametermaxBufferCapacity - the max buffer capacitysinglePublisherBiConsumer - the single publisher bi consumerpublic static <I,O> JMConcurrentTransformProcessor<I,O> buildWithThreadPool(Executor executor, int maxBufferCapacity, java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> singlePublisherBiConsumer)
I - the type parameterO - the type parameterexecutor - the executormaxBufferCapacity - the max buffer capacitysinglePublisherBiConsumer - the single publisher bi consumerpublic static <I,O> JMConcurrentTransformProcessor<I,O> buildWithThreadPool(TransformerInterface<I,O> transformer)
I - the type parameterO - the type parametertransformer - the transformerpublic static <I,O> JMConcurrentTransformProcessor<I,O> buildWithThreadPool(int maxBufferCapacity, TransformerInterface<I,O> transformer)
I - the type parameterO - the type parametermaxBufferCapacity - the max buffer capacitytransformer - the transformerpublic static <I,O> JMConcurrentTransformProcessor<I,O> buildWithThreadPool(Executor executor, int maxBufferCapacity, TransformerInterface<I,O> transformer)
I - the type parameterO - the type parameterexecutor - the executormaxBufferCapacity - the max buffer capacitytransformer - the transformerpublic static <T,M,R> JMTransformProcessorInterface<T,R> buildCombine(TransformerInterface<T,M> transformer1, TransformerInterface<M,R> transformer2)
T - the type parameterM - the type parameterR - the type parametertransformer1 - the transformer 1transformer2 - the transformer 2Copyright © 2018. All rights reserved.