/** * Setup buffer pool. */ void setupBufferPool() { _bufferPool = new SlicedBufferPool(_classOfService.common().maxFragmentSize(), guaranteedOutputBuffers()); }
SlicedBufferPool modifiedSlicedBufferPool = new TestSlicedBufferPool(consTunnelStream._classOfService.common().maxFragmentSize(), consTunnelStream.guaranteedOutputBuffers(), 2); consTunnelStream._bufferPool = modifiedSlicedBufferPool;