public class JMTransformProcessorBuilder extends Object
| Constructor | Description |
|---|---|
JMTransformProcessorBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
static <I,O> JMTransformProcessor<I,O> |
build(java.util.function.Function<I,O> transformerFunction) |
Build jm transform processor.
|
static <I,O> JMTransformProcessorInterface<I,O> |
buildBi(java.util.function.BiConsumer<I,JMSubmissionPublisher<? super O>> singlePublisherBiConsumer) |
Build bi jm transform processor interface.
|
static <O,I extends Collection<O>> |
buildCollectionEach() |
Build collection each jm transform processor interface.
|
static <O,I extends Collection<O>,R> |
buildCollectionEach(java.util.function.Function<O,R> eachTransformerFunction) |
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(int maxBufferCapacity) |
Build collection each with thread pool jm concurrent transform processor.
|
static <O,I extends Collection<O>,R> |
buildCollectionEachWithThreadPool(int maxBufferCapacity,
java.util.function.Function<O,R> eachTransformerFunction) |
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,
java.util.function.Function<O,R> eachTransformerFunction) |
Build collection each with thread pool jm concurrent transform processor.
|
static <O,I extends Collection<O>,R> |
buildCollectionEachWithThreadPool(java.util.function.Function<O,R> eachTransformerFunction) |
Build collection each with thread pool jm concurrent transform processor.
|
static <T,M,R> JMTransformProcessorInterface<T,R> |
buildCombine(java.util.function.Function<T,M> transformerFunction1,
java.util.function.Function<M,R> transformerFunction2) |
Build combine jm transform processor interface.
|
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,
java.util.function.Function<I,O> transformerFunction) |
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,
java.util.function.Function<I,O> transformerFunction) |
Build with thread pool jm concurrent transform processor.
|
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(java.util.function.Function<I,O> transformerFunction) |
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(java.util.function.Function<O,R> eachTransformerFunction)
O - the type parameterI - the type parameterR - the type parametereachTransformerFunction - the each transformer functionpublic 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(java.util.function.Function<O,R> eachTransformerFunction)
O - the type parameterI - the type parameterR - the type parametereachTransformerFunction - the each transformer functionpublic static <O,I extends Collection<O>,R> JMConcurrentTransformProcessor<I,R> buildCollectionEachWithThreadPool(int maxBufferCapacity, java.util.function.Function<O,R> eachTransformerFunction)
O - the type parameterI - the type parameterR - the type parametermaxBufferCapacity - the max buffer capacityeachTransformerFunction - the each transformer functionpublic static <O,I extends Collection<O>,R> JMConcurrentTransformProcessor<I,R> buildCollectionEachWithThreadPool(Executor executor, int maxBufferCapacity, java.util.function.Function<O,R> eachTransformerFunction)
O - the type parameterI - the type parameterR - the type parameterexecutor - the executormaxBufferCapacity - the max buffer capacityeachTransformerFunction - the each transformer functionpublic static <I,O> JMTransformProcessorInterface<I,O> buildBi(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(java.util.function.Function<I,O> transformerFunction)
I - the type parameterO - the type parametertransformerFunction - the transformer functionpublic 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(java.util.function.Function<I,O> transformerFunction)
I - the type parameterO - the type parametertransformerFunction - the transformer functionpublic static <I,O> JMConcurrentTransformProcessor<I,O> buildWithThreadPool(int maxBufferCapacity, java.util.function.Function<I,O> transformerFunction)
I - the type parameterO - the type parametermaxBufferCapacity - the max buffer capacitytransformerFunction - the transformer functionpublic static <I,O> JMConcurrentTransformProcessor<I,O> buildWithThreadPool(Executor executor, int maxBufferCapacity, java.util.function.Function<I,O> transformerFunction)
I - the type parameterO - the type parameterexecutor - the executormaxBufferCapacity - the max buffer capacitytransformerFunction - the transformer functionpublic static <T,M,R> JMTransformProcessorInterface<T,R> buildCombine(java.util.function.Function<T,M> transformerFunction1, java.util.function.Function<M,R> transformerFunction2)
T - the type parameterM - the type parameterR - the type parametertransformerFunction1 - the transformer function 1transformerFunction2 - the transformer function 2Copyright © 2018. All rights reserved.