Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
static Counter |
TimeLimitingCollector.getGlobalCounter()
Returns the global TimerThreads
Counter |
Constructor and Description |
---|
TimeLimitingCollector(Collector collector,
Counter clock,
long ticksAllowed)
Create a TimeLimitedCollector wrapper over another
Collector with a specified timeout. |
TimerThread(Counter counter) |
TimerThread(long resolution,
Counter counter) |
Modifier and Type | Method and Description |
---|---|
abstract Counter |
BytesRefHash.BytesStartArray.bytesUsed()
A
Counter reference holding the number of bytes used by this
BytesRefHash.BytesStartArray . |
Counter |
BytesRefHash.DirectBytesStartArray.bytesUsed() |
static Counter |
Counter.newCounter()
Returns a new counter.
|
static Counter |
Counter.newCounter(boolean threadSafe)
Returns a new counter.
|
Constructor and Description |
---|
BytesRefArray(Counter bytesUsed)
Creates a new
BytesRefArray with a counter to track allocated bytes |
DirectBytesStartArray(int initSize,
Counter counter) |
DirectTrackingAllocator(Counter bytesUsed) |
DirectTrackingAllocator(int blockSize,
Counter bytesUsed) |
RecyclingByteBlockAllocator(int blockSize,
int maxBufferedBlocks,
Counter bytesUsed)
Creates a new
RecyclingByteBlockAllocator |
RecyclingIntBlockAllocator(int blockSize,
int maxBufferedBlocks,
Counter bytesUsed)
Creates a new
RecyclingIntBlockAllocator |
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.