Uses of Class
org.apache.lucene.util.Counter
-
Packages that use Counter Package Description org.apache.lucene.search Code to search indices.org.apache.lucene.util Some utility classes. -
-
Uses of Counter in org.apache.lucene.search
Methods in org.apache.lucene.search that return Counter Modifier and Type Method Description static Counter
TimeLimitingCollector. getGlobalCounter()
Returns the global TimerThreadsCounter
Constructors in org.apache.lucene.search with parameters of type Counter Constructor Description TimeLimitingCollector(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
Methods in org.apache.lucene.util that return Counter Modifier and Type Method Description abstract Counter
BytesRefHash.BytesStartArray. bytesUsed()
ACounter
reference holding the number of bytes used by thisBytesRefHash.BytesStartArray
.Counter
BytesRefHash.DirectBytesStartArray. bytesUsed()
static Counter
Counter. newCounter()
Returns a new counter.static Counter
Counter. newCounter(boolean threadSafe)
Returns a new counter.Constructors in org.apache.lucene.util with parameters of type Counter Constructor Description DirectBytesStartArray(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
-