Package org.apache.lucene.util
Class OfflineSorter.SortInfo
- java.lang.Object
-
- org.apache.lucene.util.OfflineSorter.SortInfo
-
- Enclosing class:
- OfflineSorter
public class OfflineSorter.SortInfo extends java.lang.Object
Sort info (debugging mostly).
-
-
Field Summary
Fields Modifier and Type Field Description long
bufferSize
read buffer size (in bytes)int
lineCount
number of lines of data readint
mergeRounds
number of partition mergesjava.util.concurrent.atomic.AtomicLong
mergeTimeMS
time spent merging sorted partitions (in milliseconds)long
readTimeMS
time spent in i/o read (in milliseconds)java.util.concurrent.atomic.AtomicLong
sortTimeMS
time spent sorting data (in milliseconds)int
tempMergeFiles
number of temporary files created when merging partitionslong
totalTimeMS
total time spent (in milliseconds)
-
Constructor Summary
Constructors Constructor Description SortInfo()
create a new SortInfo (with empty statistics) for debugging
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
tempMergeFiles
public int tempMergeFiles
number of temporary files created when merging partitions
-
mergeRounds
public int mergeRounds
number of partition merges
-
lineCount
public int lineCount
number of lines of data read
-
mergeTimeMS
public final java.util.concurrent.atomic.AtomicLong mergeTimeMS
time spent merging sorted partitions (in milliseconds)
-
sortTimeMS
public final java.util.concurrent.atomic.AtomicLong sortTimeMS
time spent sorting data (in milliseconds)
-
totalTimeMS
public long totalTimeMS
total time spent (in milliseconds)
-
readTimeMS
public long readTimeMS
time spent in i/o read (in milliseconds)
-
bufferSize
public final long bufferSize
read buffer size (in bytes)
-
-