Package | Description |
---|---|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
ByteBlockPool.DirectAllocator
A simple
ByteBlockPool.Allocator that never recycles. |
static class |
ByteBlockPool.DirectTrackingAllocator
A simple
ByteBlockPool.Allocator that never recycles, but
tracks how much total RAM is in use. |
class |
RecyclingByteBlockAllocator
A
ByteBlockPool.Allocator implementation that recycles unused byte
blocks in a buffer and reuses them in subsequent calls to
RecyclingByteBlockAllocator.getByteBlock() . |
Constructor and Description |
---|
ByteBlockPool(ByteBlockPool.Allocator allocator) |