public class MergeStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
MergeStats() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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) |
static MergeStats |
readMergeStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
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 static MergeStats readMergeStats(StreamInput in) throws IOException
IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.