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