RecyclingByteBlockAllocator

constructor(maxBufferedBlocks: Int, bytesUsed: Counter)

Creates a new RecyclingByteBlockAllocator

Parameters

maxBufferedBlocks

maximum number of buffered byte block

bytesUsed

Counter reference counting internally allocated bytes


constructor(maxBufferedBlocks: Int)

Creates a new RecyclingByteBlockAllocator.

Parameters

maxBufferedBlocks

maximum number of buffered byte block


constructor()

Creates a new RecyclingByteBlockAllocator with a block size of , upper buffered docs limit of (DEFAULT_BUFFERED_BLOCKS).