public static interface DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default DisruptorEndpointBuilderFactory.AdvancedDisruptorEndpointProducerBuilder |
advanced() |
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
blockWhenFull(boolean blockWhenFull)
Whether a thread that sends messages to a full Disruptor will block
until the ringbuffer's capacity is no longer exhausted.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
blockWhenFull(String blockWhenFull)
Whether a thread that sends messages to a full Disruptor will block
until the ringbuffer's capacity is no longer exhausted.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
producerType(DisruptorEndpointBuilderFactory.DisruptorProducerType producerType)
Defines the producers allowed on the Disruptor.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
producerType(String producerType)
Defines the producers allowed on the Disruptor.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
size(int size)
The maximum capacity of the Disruptors ringbuffer Will be effectively
increased to the nearest power of two.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
size(String size)
The maximum capacity of the Disruptors ringbuffer Will be effectively
increased to the nearest power of two.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
timeout(long timeout)
Timeout (in milliseconds) before a producer will stop waiting for an
asynchronous task to complete.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
timeout(String timeout)
Timeout (in milliseconds) before a producer will stop waiting for an
asynchronous task to complete.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
waitForTaskToComplete(String waitForTaskToComplete)
Option to specify whether the caller should wait for the async task
to complete or not before continuing.
|
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder |
waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete)
Option to specify whether the caller should wait for the async task
to complete or not before continuing.
|
default DisruptorEndpointBuilderFactory.AdvancedDisruptorEndpointProducerBuilder advanced()
default DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder size(int size)
size - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder size(String size)
size - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder blockWhenFull(boolean blockWhenFull)
blockWhenFull - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder blockWhenFull(String blockWhenFull)
blockWhenFull - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
lazyStartProducer - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder producerType(DisruptorEndpointBuilderFactory.DisruptorProducerType producerType)
producerType - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder producerType(String producerType)
producerType - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder timeout(long timeout)
timeout - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder timeout(String timeout)
timeout - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete)
waitForTaskToComplete - the value to setdefault DisruptorEndpointBuilderFactory.DisruptorEndpointProducerBuilder waitForTaskToComplete(String waitForTaskToComplete)
waitForTaskToComplete - the value to setApache Camel