|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use Counter | |
|---|---|
| org.apache.lucene.codecs.lucene40.values | Default DocValues implementation for Lucene 4.0 indexes. |
| org.apache.lucene.index | Code to maintain and access indices. |
| org.apache.lucene.search | Code to search indices. |
| org.apache.lucene.util | Some utility classes. |
| Uses of Counter in org.apache.lucene.codecs.lucene40.values |
|---|
| Methods in org.apache.lucene.codecs.lucene40.values with parameters of type Counter | |
|---|---|
static DocValuesConsumer |
Bytes.getWriter(Directory dir,
String id,
Bytes.Mode mode,
boolean fixedSize,
Comparator<BytesRef> sortComparator,
Counter bytesUsed,
IOContext context,
float acceptableOverheadRatio)
Creates a new byte[] Writer instances for the given
directory. |
static DocValuesConsumer |
Ints.getWriter(Directory dir,
String id,
Counter bytesUsed,
DocValues.Type type,
IOContext context)
Creates and returns a DocValuesConsumer to
write int values. |
static DocValuesConsumer |
Floats.getWriter(Directory dir,
String id,
Counter bytesUsed,
IOContext context,
DocValues.Type type)
Creates and returns a DocValuesConsumer to
write float values. |
| Uses of Counter in org.apache.lucene.index |
|---|
| Fields in org.apache.lucene.index declared as Counter | |
|---|---|
Counter |
PerDocWriteState.bytesUsed
Number of bytes allocated in RAM to hold this state. |
| Constructors in org.apache.lucene.index with parameters of type Counter | |
|---|---|
PerDocWriteState(InfoStream infoStream,
Directory directory,
SegmentInfo segmentInfo,
Counter bytesUsed,
String segmentSuffix,
IOContext context)
Creates a PerDocWriteState. |
|
| Uses of Counter in org.apache.lucene.search |
|---|
| Methods in org.apache.lucene.search that return Counter | |
|---|---|
static Counter |
TimeLimitingCollector.getGlobalCounter()
Returns the global TimerThreads Counter |
| Constructors in org.apache.lucene.search with parameters of type Counter | |
|---|---|
TimeLimitingCollector.TimerThread(Counter counter)
|
|
TimeLimitingCollector.TimerThread(long resolution,
Counter counter)
|
|
TimeLimitingCollector(Collector collector,
Counter clock,
long ticksAllowed)
Create a TimeLimitedCollector wrapper over another Collector with a specified timeout. |
|
| Uses of Counter in org.apache.lucene.util |
|---|
| Fields in org.apache.lucene.util declared as Counter | |
|---|---|
protected Counter |
BytesRefHash.TrackingDirectBytesStartArray.bytesUsed
|
| Methods in org.apache.lucene.util that return Counter | |
|---|---|
abstract Counter |
BytesRefHash.BytesStartArray.bytesUsed()
A Counter reference holding the number of bytes used by this
BytesRefHash.BytesStartArray. |
Counter |
BytesRefHash.TrackingDirectBytesStartArray.bytesUsed()
|
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 | |
|---|---|
ByteBlockPool.DirectTrackingAllocator(Counter bytesUsed)
|
|
ByteBlockPool.DirectTrackingAllocator(int blockSize,
Counter bytesUsed)
|
|
BytesRefHash.TrackingDirectBytesStartArray(int initSize,
Counter bytesUsed)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||