RecyclingByteBlockAllocator
A ByteBlockPool.Allocator implementation that recycles unused byte blocks in a buffer and reuses them in subsequent calls to .byteBlock.
Note: This class is not thread-safe
Constructors
Link copied to clipboard
Creates a new RecyclingByteBlockAllocator
Creates a new RecyclingByteBlockAllocator.
constructor()
Creates a new RecyclingByteBlockAllocator with a block size of , upper buffered docs limit of (DEFAULT_BUFFERED_BLOCKS).