public static final class DisruptorAsyncSpanProcessor.Builder extends io.opentelemetry.sdk.common.export.ConfigBuilder<DisruptorAsyncSpanProcessor.Builder>
DisruptorAsyncSpanProcessor
.Modifier and Type | Method and Description |
---|---|
DisruptorAsyncSpanProcessor |
build()
Returns a new
DisruptorAsyncSpanProcessor . |
protected DisruptorAsyncSpanProcessor.Builder |
fromConfigMap(java.util.Map<java.lang.String,java.lang.String> configMap,
io.opentelemetry.sdk.common.export.ConfigBuilder.NamingConvention namingConvention) |
DisruptorAsyncSpanProcessor.Builder |
setBlocking(boolean blocking)
If
true blocks when the Disruptor's ring buffer is full. |
DisruptorAsyncSpanProcessor.Builder |
setBufferSize(int bufferSize)
Sets the buffer size for the Disruptor's ring buffer.
|
DisruptorAsyncSpanProcessor.Builder |
setWaitingStrategy(com.lmax.disruptor.WaitStrategy waitingStrategy)
Sets the
WaitStrategy for the Disruptor's worker thread. |
public DisruptorAsyncSpanProcessor.Builder setBlocking(boolean blocking)
true
blocks when the Disruptor's ring buffer is full.blocking
- true
blocks when the Disruptor's ring buffer is full.public DisruptorAsyncSpanProcessor.Builder setBufferSize(int bufferSize)
bufferSize
- the buffer size for the Disruptor ring buffer.public DisruptorAsyncSpanProcessor.Builder setWaitingStrategy(com.lmax.disruptor.WaitStrategy waitingStrategy)
WaitStrategy
for the Disruptor's worker thread.waitingStrategy
- the WaitStrategy
for the Disruptor's worker thread.public DisruptorAsyncSpanProcessor build()
DisruptorAsyncSpanProcessor
.DisruptorAsyncSpanProcessor
.protected DisruptorAsyncSpanProcessor.Builder fromConfigMap(java.util.Map<java.lang.String,java.lang.String> configMap, io.opentelemetry.sdk.common.export.ConfigBuilder.NamingConvention namingConvention)
fromConfigMap
in class io.opentelemetry.sdk.common.export.ConfigBuilder<DisruptorAsyncSpanProcessor.Builder>