Package | Description |
---|---|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
static class |
IntBlockPool.DirectAllocator
A simple
IntBlockPool.Allocator that never recycles. |
class |
RecyclingIntBlockAllocator
A
IntBlockPool.Allocator implementation that recycles unused int
blocks in a buffer and reuses them in subsequent calls to
RecyclingIntBlockAllocator.getIntBlock() . |
Constructor and Description |
---|
IntBlockPool(IntBlockPool.Allocator allocator)
Creates a new
IntBlockPool with the given IntBlockPool.Allocator . |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.