public class PercolateStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
PercolateStats()
Noop constructor for serialazation purposes.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
add(PercolateStats percolate) |
long |
getCount() |
long |
getCurrent() |
ByteSizeValue |
getMemorySize() |
long |
getMemorySizeInBytes() |
long |
getNumQueries() |
TimeValue |
getTime() |
long |
getTimeInMillis() |
void |
readFrom(StreamInput in) |
static PercolateStats |
readPercolateStats(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public long getCount()
public long getTimeInMillis()
public TimeValue getTime()
public long getCurrent()
public long getNumQueries()
public long getMemorySizeInBytes()
-1, but this used to return the total size the loaded queries take in
memory, but this is disabled now because the size estimation was too expensive cpu wise. This will be enabled
again when a cheaper size estimation can be found.public ByteSizeValue getMemorySize()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void add(PercolateStats percolate)
public static PercolateStats readPercolateStats(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.