private static class DataBufferUtils.ReadableByteChannelGenerator
extends java.lang.Object
implements java.util.function.BiFunction<java.nio.channels.ReadableByteChannel,<any>,java.nio.channels.ReadableByteChannel>
Modifier and Type | Field and Description |
---|---|
private int |
bufferSize |
private DataBufferFactory |
dataBufferFactory |
Constructor and Description |
---|
ReadableByteChannelGenerator(DataBufferFactory dataBufferFactory,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
java.nio.channels.ReadableByteChannel |
apply(java.nio.channels.ReadableByteChannel channel,
<any> sub) |
private final DataBufferFactory dataBufferFactory
private final int bufferSize
public ReadableByteChannelGenerator(DataBufferFactory dataBufferFactory, int bufferSize)