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 |
chunkSize |
private DataBufferFactory |
dataBufferFactory |
Constructor and Description |
---|
ReadableByteChannelGenerator(DataBufferFactory dataBufferFactory,
int chunkSize) |
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 chunkSize
public ReadableByteChannelGenerator(DataBufferFactory dataBufferFactory, int chunkSize)