Uses of Class
org.apache.lucene.util.Counter
-
Packages that use Counter Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.index.memory High-performance single-document main memory Apache Lucene fulltext search index.org.apache.lucene.search Code to search indices.org.apache.lucene.util Some utility classes. -
-
Uses of Counter in org.apache.lucene.index
Fields in org.apache.lucene.index declared as Counter Modifier and Type Field Description private Counter
BufferedUpdates. bytesUsed
(package private) Counter
DefaultIndexingChain. bytesUsed
(package private) Counter
DocumentsWriterPerThread. bytesUsed
private Counter
DocumentsWriterPerThread.IntBlockAllocator. bytesUsed
private Counter
FieldUpdatesBuffer. bytesUsed
(package private) Counter
TermsHash. bytesUsed
private Counter
TermsHashPerField. bytesUsed
private Counter
TermsHashPerField.PostingsBytesStartArray. bytesUsed
(package private) Counter
BufferedUpdates. fieldUpdatesBytesUsed
private Counter
BinaryDocValuesWriter. iwBytesUsed
private Counter
NormValuesWriter. iwBytesUsed
private Counter
NumericDocValuesWriter. iwBytesUsed
private Counter
PointValuesWriter. iwBytesUsed
private Counter
SortedDocValuesWriter. iwBytesUsed
private Counter
SortedNumericDocValuesWriter. iwBytesUsed
private Counter
SortedSetDocValuesWriter. iwBytesUsed
Methods in org.apache.lucene.index that return Counter Modifier and Type Method Description Counter
TermsHashPerField.PostingsBytesStartArray. bytesUsed()
Methods in org.apache.lucene.index with parameters of type Counter Modifier and Type Method Description private void
IndexWriter. countSoftDeletes(CodecReader reader, Bits wrappedLiveDocs, Bits hardLiveDocs, Counter softDeleteCounter, Counter hardDeleteCounter)
Constructors in org.apache.lucene.index with parameters of type Counter Constructor Description BinaryDocValuesWriter(FieldInfo fieldInfo, Counter iwBytesUsed)
FieldUpdatesBuffer(Counter bytesUsed, DocValuesUpdate.BinaryDocValuesUpdate initialValue, int docUpTo)
FieldUpdatesBuffer(Counter bytesUsed, DocValuesUpdate.NumericDocValuesUpdate initialValue, int docUpTo)
FieldUpdatesBuffer(Counter bytesUsed, DocValuesUpdate initialValue, int docUpTo, boolean isNumeric)
IntBlockAllocator(Counter bytesUsed)
NormValuesWriter(FieldInfo fieldInfo, Counter iwBytesUsed)
NumericDocValuesWriter(FieldInfo fieldInfo, Counter iwBytesUsed)
PostingsBytesStartArray(TermsHashPerField perField, Counter bytesUsed)
SortedDocValuesWriter(FieldInfo fieldInfo, Counter iwBytesUsed)
SortedNumericDocValuesWriter(FieldInfo fieldInfo, Counter iwBytesUsed)
SortedSetDocValuesWriter(FieldInfo fieldInfo, Counter iwBytesUsed)
-
Uses of Counter in org.apache.lucene.index.memory
Fields in org.apache.lucene.index.memory declared as Counter Modifier and Type Field Description private Counter
MemoryIndex. bytesUsed
-
Uses of Counter in org.apache.lucene.search
Fields in org.apache.lucene.search declared as Counter Modifier and Type Field Description private Counter
TimeLimitingCollector. clock
(package private) Counter
TimeLimitingCollector.TimerThread. counter
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
Subclasses of Counter in org.apache.lucene.util Modifier and Type Class Description private static class
Counter.AtomicCounter
private static class
Counter.SerialCounter
Fields in org.apache.lucene.util declared as Counter Modifier and Type Field Description private Counter
ByteBlockPool.DirectTrackingAllocator. bytesUsed
private Counter
BytesRefArray. bytesUsed
private Counter
BytesRefHash. bytesUsed
private Counter
BytesRefHash.DirectBytesStartArray. bytesUsed
private Counter
RecyclingByteBlockAllocator. bytesUsed
private Counter
RecyclingIntBlockAllocator. bytesUsed
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 BytesRefArray(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
-