public static class IndexingStats.Stats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
Stats(long indexCount,
long indexTimeInMillis,
long indexCurrent,
long indexFailedCount,
long deleteCount,
long deleteTimeInMillis,
long deleteCurrent,
long noopUpdateCount,
boolean isThrottled,
long throttleTimeInMillis) |
Modifier and Type | Method and Description |
---|---|
void |
add(IndexingStats.Stats stats) |
long |
getDeleteCount() |
long |
getDeleteCurrent() |
TimeValue |
getDeleteTime() |
long |
getDeleteTimeInMillis() |
long |
getIndexCount() |
long |
getIndexCurrent() |
long |
getIndexFailedCount() |
TimeValue |
getIndexTime() |
long |
getIndexTimeInMillis() |
long |
getNoopUpdateCount() |
TimeValue |
getThrottleTime()
Gets the amount of time in a TimeValue that the index has been under merge throttling control
|
long |
getThrottleTimeInMillis()
Gets the amount of time in milliseconds that the index has been under merge throttling control
|
boolean |
isThrottled()
Returns if the index is under merge throttling control
|
void |
readFrom(StreamInput in) |
static IndexingStats.Stats |
readStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public Stats(long indexCount, long indexTimeInMillis, long indexCurrent, long indexFailedCount, long deleteCount, long deleteTimeInMillis, long deleteCurrent, long noopUpdateCount, boolean isThrottled, long throttleTimeInMillis)
public void add(IndexingStats.Stats stats)
public long getIndexCount()
public long getIndexFailedCount()
public TimeValue getIndexTime()
public long getIndexTimeInMillis()
public long getIndexCurrent()
public long getDeleteCount()
public boolean isThrottled()
public long getThrottleTimeInMillis()
public TimeValue getThrottleTime()
public TimeValue getDeleteTime()
public long getDeleteTimeInMillis()
public long getDeleteCurrent()
public long getNoopUpdateCount()
public static IndexingStats.Stats readStats(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.