Module io.helidon.common.reactive
Package io.helidon.common.reactive
Class BufferedEmittingPublisher.Builder<T>
java.lang.Object
io.helidon.common.reactive.BufferedEmittingPublisher.Builder<T>
- Type Parameters:
T
- type of the expected payload
- All Implemented Interfaces:
Builder<BufferedEmittingPublisher.Builder<T>,
,BufferedEmittingPublisher<T>> Supplier<BufferedEmittingPublisher<T>>
- Enclosing class:
- BufferedEmittingPublisher<T>
public static class BufferedEmittingPublisher.Builder<T>
extends Object
implements Builder<BufferedEmittingPublisher.Builder<T>,BufferedEmittingPublisher<T>>
Fluent API builder to create
BufferedEmittingPublisher
.-
Method Summary
Modifier and TypeMethodDescriptionSet up custom buffer queue implementation for the emitter to use.build()
Build the instance from this builder.
-
Method Details
-
buffer
Set up custom buffer queue implementation for the emitter to use.- Parameters:
queue
- to be used as a buffer- Returns:
- this builder
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<BufferedEmittingPublisher.Builder<T>,
BufferedEmittingPublisher<T>> - Returns:
- instance of the built type
-