Uses of Class
org.apache.lucene.util.Counter
Packages that use Counter
Package
Description
Code to search indices.
Some utility classes.
-
Uses of Counter in org.apache.lucene.search
Methods in org.apache.lucene.search that return CounterModifier and TypeMethodDescriptionstatic CounterTimeLimitingCollector.getGlobalCounter()Returns the global TimerThreadsCounterConstructors in org.apache.lucene.search with parameters of type CounterModifierConstructorDescriptionTimeLimitingCollector(Collector collector, Counter clock, long ticksAllowed) Create a TimeLimitedCollector wrapper over anotherCollectorwith 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 CounterModifier and TypeMethodDescriptionabstract CounterBytesRefHash.BytesStartArray.bytesUsed()ACounterreference holding the number of bytes used by thisBytesRefHash.BytesStartArray.BytesRefHash.DirectBytesStartArray.bytesUsed()static CounterCounter.newCounter()Returns a new counter.static CounterCounter.newCounter(boolean threadSafe) Returns a new counter.Constructors in org.apache.lucene.util with parameters of type CounterModifierConstructorDescriptionBytesRefArray(Counter bytesUsed) Creates a newBytesRefArraywith a counter to track allocated bytesDirectBytesStartArray(int initSize, Counter counter) DirectTrackingAllocator(Counter bytesUsed) RecyclingByteBlockAllocator(int maxBufferedBlocks, Counter bytesUsed) Creates a newRecyclingByteBlockAllocatorRecyclingIntBlockAllocator(int blockSize, int maxBufferedBlocks, Counter bytesUsed) Creates a newRecyclingIntBlockAllocator