use of voldemort.common.nio.ByteBufferBackedInputStream in project voldemort by voldemort.
the class ClientRequestExecutor method initializeStreams.
@Override
protected void initializeStreams(int socketBufferSize, CommBufferSizeStats commBufferStats) {
bufferContainer = new ByteBufferContainer(socketBufferSize, resizeThreshold, commBufferStats.getCommReadBufferSizeTracker());
this.inputStream = new ByteBufferBackedInputStream(bufferContainer);
this.outputStream = new ByteBufferBackedOutputStream(bufferContainer);
}
Aggregations