Uses of Class
org.apache.lucene.util.Counter
Package
Description
Code to search indices.
Some utility classes.
-
Uses of Counter in org.apache.lucene.search
Modifier and TypeMethodDescriptionstatic Counter
TimeLimitingCollector.getGlobalCounter()
Returns the global TimerThreadsCounter
ModifierConstructorDescriptionTimeLimitingCollector
(Collector collector, Counter clock, long ticksAllowed) Create a TimeLimitedCollector wrapper over anotherCollector
with a specified timeout.TimerThread
(long resolution, Counter counter) TimerThread
(Counter counter) -
Uses of Counter in org.apache.lucene.util
Modifier and TypeMethodDescriptionabstract Counter
BytesRefHash.BytesStartArray.bytesUsed()
ACounter
reference holding the number of bytes used by thisBytesRefHash.BytesStartArray
.BytesRefHash.DirectBytesStartArray.bytesUsed()
static Counter
Counter.newCounter()
Returns a new counter.static Counter
Counter.newCounter
(boolean threadSafe) Returns a new counter.ModifierConstructorDescriptionBytesRefArray
(Counter bytesUsed) Creates a newBytesRefArray
with a counter to track allocated bytesDirectBytesStartArray
(int initSize, Counter counter) DirectTrackingAllocator
(int blockSize, Counter bytesUsed) DirectTrackingAllocator
(Counter bytesUsed) RecyclingByteBlockAllocator
(int blockSize, int maxBufferedBlocks, Counter bytesUsed) Creates a newRecyclingByteBlockAllocator
RecyclingIntBlockAllocator
(int blockSize, int maxBufferedBlocks, Counter bytesUsed) Creates a newRecyclingIntBlockAllocator