Uses of Class
org.apache.lucene.util.Counter
Packages that use Counter
Package
Description
Code to maintain and access indices.
High-performance single-document main memory Apache Lucene fulltext search index.
Code to search indices.
Some utility classes.
-
Uses of Counter in org.apache.lucene.index
Fields in org.apache.lucene.index declared as CounterModifier and TypeFieldDescriptionprivate final Counter
BufferedUpdates.bytesUsed
private final Counter
BufferedUpdates.DeletedTerms.bytesUsed
private final Counter
FieldUpdatesBuffer.bytesUsed
(package private) final Counter
IndexingChain.bytesUsed
private final Counter
IndexingChain.IntBlockAllocator.bytesUsed
(package private) final Counter
TermsHash.bytesUsed
private final Counter
TermsHashPerField.PostingsBytesStartArray.bytesUsed
private final Counter
BufferedUpdates.BytesRefIntMap.counter
(package private) final Counter
BufferedUpdates.fieldUpdatesBytesUsed
private final Counter
BinaryDocValuesWriter.iwBytesUsed
private final Counter
NormValuesWriter.iwBytesUsed
private final Counter
NumericDocValuesWriter.iwBytesUsed
private final Counter
PointValuesWriter.iwBytesUsed
private final Counter
SortedDocValuesWriter.iwBytesUsed
private final Counter
SortedNumericDocValuesWriter.iwBytesUsed
private final Counter
SortedSetDocValuesWriter.iwBytesUsed
Methods in org.apache.lucene.index that return CounterMethods in org.apache.lucene.index with parameters of type CounterModifier and TypeMethodDescriptionprivate void
IndexWriter.countSoftDeletes
(CodecReader reader, Bits wrappedLiveDocs, Bits hardLiveDocs, Counter softDeleteCounter, Counter hardDeleteCounter) Constructors in org.apache.lucene.index with parameters of type CounterModifierConstructorDescription(package private)
BinaryDocValuesWriter
(FieldInfo fieldInfo, Counter iwBytesUsed) private
BytesRefIntMap
(ByteBlockPool pool, Counter counter) (package private)
FieldUpdatesBuffer
(Counter bytesUsed, DocValuesUpdate.BinaryDocValuesUpdate initialValue, int docUpTo) (package private)
FieldUpdatesBuffer
(Counter bytesUsed, DocValuesUpdate.NumericDocValuesUpdate initialValue, int docUpTo) private
FieldUpdatesBuffer
(Counter bytesUsed, DocValuesUpdate initialValue, int docUpTo, boolean isNumeric) (package private)
FreqProxTermsWriter
(IntBlockPool.Allocator intBlockAllocator, ByteBlockPool.Allocator byteBlockAllocator, Counter bytesUsed, TermsHash termVectors) (package private)
IntBlockAllocator
(Counter bytesUsed) NormValuesWriter
(FieldInfo fieldInfo, Counter iwBytesUsed) (package private)
NumericDocValuesWriter
(FieldInfo fieldInfo, Counter iwBytesUsed) (package private)
PointValuesWriter
(Counter bytesUsed, FieldInfo fieldInfo) private
PostingsBytesStartArray
(TermsHashPerField perField, Counter bytesUsed) SortedDocValuesWriter
(FieldInfo fieldInfo, Counter iwBytesUsed, ByteBlockPool pool) (package private)
SortedNumericDocValuesWriter
(FieldInfo fieldInfo, Counter iwBytesUsed) (package private)
SortedSetDocValuesWriter
(FieldInfo fieldInfo, Counter iwBytesUsed, ByteBlockPool pool) (package private)
TermsHash
(IntBlockPool.Allocator intBlockAllocator, ByteBlockPool.Allocator byteBlockAllocator, Counter bytesUsed, TermsHash nextTermsHash) (package private)
TermsHashPerField
(int streamCount, IntBlockPool intPool, ByteBlockPool bytePool, ByteBlockPool termBytePool, Counter bytesUsed, TermsHashPerField nextPerField, String fieldName, IndexOptions indexOptions) streamCount: how many streams this field stores per term. -
Uses of Counter in org.apache.lucene.index.memory
Fields in org.apache.lucene.index.memory declared as Counter -
Uses of Counter in org.apache.lucene.search
Fields in org.apache.lucene.search declared as CounterModifier and TypeFieldDescriptionprivate final Counter
TimeLimitingCollector.clock
(package private) final Counter
TimeLimitingCollector.TimerThread.counter
Methods in org.apache.lucene.search that return CounterModifier and TypeMethodDescriptionstatic Counter
TimeLimitingCollector.getGlobalCounter()
Returns the global TimerThreadsCounter
Constructors in org.apache.lucene.search with parameters of type CounterModifierConstructorDescriptionTimeLimitingCollector
(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
Subclasses of Counter in org.apache.lucene.utilModifier and TypeClassDescriptionprivate static final class
private static final class
Fields in org.apache.lucene.util declared as CounterModifier and TypeFieldDescriptionprivate final Counter
ByteBlockPool.DirectTrackingAllocator.bytesUsed
private final Counter
BytesRefArray.bytesUsed
private final Counter
BytesRefHash.bytesUsed
private final Counter
BytesRefHash.DirectBytesStartArray.bytesUsed
private final Counter
RecyclingByteBlockAllocator.bytesUsed
private final Counter
RecyclingIntBlockAllocator.bytesUsed
Methods in org.apache.lucene.util that return CounterModifier 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.Constructors in org.apache.lucene.util with parameters of type CounterModifierConstructorDescriptionBytesRefArray
(Counter bytesUsed) Creates a newBytesRefArray
with a counter to track allocated bytesDirectBytesStartArray
(int initSize, Counter counter) DirectTrackingAllocator
(Counter bytesUsed) RecyclingByteBlockAllocator
(int maxBufferedBlocks, Counter bytesUsed) Creates a newRecyclingByteBlockAllocator
RecyclingIntBlockAllocator
(int blockSize, int maxBufferedBlocks, Counter bytesUsed) Creates a newRecyclingIntBlockAllocator