Module io.helidon.common.reactive
Package io.helidon.common.reactive
Class IoMulti.MultiToByteChannelBuilder
java.lang.Object
io.helidon.common.reactive.IoMulti.MultiToByteChannelBuilder
- All Implemented Interfaces:
Builder<IoMulti.MultiToByteChannelBuilder,,Function<? super Multi<ByteBuffer>, ? extends Single<Void>>> Supplier<Function<? super Multi<ByteBuffer>,? extends Single<Void>>>
- Enclosing interface:
IoMulti
public static final class IoMulti.MultiToByteChannelBuilder
extends Object
implements Builder<IoMulti.MultiToByteChannelBuilder,Function<? super Multi<ByteBuffer>,? extends Single<Void>>>
Fluent API builder for creating a subscriber consuming
Multi<ByteBuffer> to WritableByteChannel.-
Method Summary
Modifier and TypeMethodDescriptionFunction<? super Multi<ByteBuffer>, ? extends Single<Void>> build()Build the instance from this builder.Supply custom executor for handling the blocking ofWritableByteChannel.
-
Method Details
-
executor
Supply custom executor for handling the blocking ofWritableByteChannel.- Parameters:
executor- custom executor- Returns:
- updated builder instance
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<IoMulti.MultiToByteChannelBuilder,Function<? super Multi<ByteBuffer>, ? extends Single<Void>>> - Returns:
- instance of the built type
-