public class GetStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
GetStats() |
GetStats(long existsCount,
long existsTimeInMillis,
long missingCount,
long missingTimeInMillis,
long current) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
add(GetStats stats) |
void |
addTotals(GetStats stats) |
long |
current() |
long |
getCount() |
long |
getExistsCount() |
TimeValue |
getExistsTime() |
long |
getExistsTimeInMillis() |
long |
getMissingCount() |
TimeValue |
getMissingTime() |
long |
getMissingTimeInMillis() |
TimeValue |
getTime() |
long |
getTimeInMillis() |
void |
readFrom(StreamInput in) |
static GetStats |
readGetStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public GetStats()
public GetStats(long existsCount,
long existsTimeInMillis,
long missingCount,
long missingTimeInMillis,
long current)
public void add(GetStats stats)
public void addTotals(GetStats stats)
public long getCount()
public long getTimeInMillis()
public TimeValue getTime()
public long getExistsCount()
public long getExistsTimeInMillis()
public TimeValue getExistsTime()
public long getMissingCount()
public long getMissingTimeInMillis()
public TimeValue getMissingTime()
public long current()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic static GetStats readGetStats(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.