| Package | Description |
|---|---|
| org.apache.lucene.index |
Code to maintain and access indices.
|
| org.apache.lucene.util |
Some utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
DocumentsWriterPerThread.IntBlockAllocator |
| Modifier and Type | Field and Description |
|---|---|
(package private) IntBlockPool.Allocator |
DocumentsWriterPerThread.intBlockAllocator |
| 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(). |
| Modifier and Type | Field and Description |
|---|---|
private IntBlockPool.Allocator |
IntBlockPool.allocator |
| Constructor and Description |
|---|
IntBlockPool(IntBlockPool.Allocator allocator)
Creates a new
IntBlockPool with the given IntBlockPool.Allocator. |