public class MergeStats extends java.lang.Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
MergeStats() |
Modifier and Type | Method and Description |
---|---|
void |
add(long totalMerges,
long totalMergeTime,
long totalNumDocs,
long totalSizeInBytes,
long currentMerges,
long currentNumDocs,
long currentSizeInBytes,
long stoppedTimeMillis,
long throttledTimeMillis,
double mbPerSecAutoThrottle) |
void |
add(MergeStats mergeStats) |
void |
addTotals(MergeStats mergeStats) |
long |
getCurrent()
The current number of merges executing.
|
long |
getCurrentNumDocs() |
ByteSizeValue |
getCurrentSize() |
long |
getCurrentSizeInBytes() |
long |
getTotal()
The total number of merges executed.
|
long |
getTotalBytesPerSecAutoThrottle() |
long |
getTotalNumDocs() |
ByteSizeValue |
getTotalSize() |
long |
getTotalSizeInBytes() |
TimeValue |
getTotalStoppedTime()
The total time large merges were stopped so smaller merges could finish.
|
long |
getTotalStoppedTimeInMillis()
The total time large merges were stopped so smaller merges could finish.
|
TimeValue |
getTotalThrottledTime()
The total time merge IO writes were throttled.
|
long |
getTotalThrottledTimeInMillis()
The total time merge IO writes were throttled.
|
TimeValue |
getTotalTime()
The total time merges have been executed.
|
long |
getTotalTimeInMillis()
The total time merges have been executed (in milliseconds).
|
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public void add(long totalMerges, long totalMergeTime, long totalNumDocs, long totalSizeInBytes, long currentMerges, long currentNumDocs, long currentSizeInBytes, long stoppedTimeMillis, long throttledTimeMillis, double mbPerSecAutoThrottle)
public void add(MergeStats mergeStats)
public void addTotals(MergeStats mergeStats)
public long getTotal()
public long getTotalTimeInMillis()
public long getTotalStoppedTimeInMillis()
public TimeValue getTotalStoppedTime()
public long getTotalThrottledTimeInMillis()
public TimeValue getTotalThrottledTime()
public TimeValue getTotalTime()
public long getTotalNumDocs()
public long getTotalSizeInBytes()
public ByteSizeValue getTotalSize()
public long getTotalBytesPerSecAutoThrottle()
public long getCurrent()
public long getCurrentNumDocs()
public long getCurrentSizeInBytes()
public ByteSizeValue getCurrentSize()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException