public class FieldDataStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
FieldDataStats() |
FieldDataStats(long memorySize,
long evictions,
com.carrotsearch.hppc.ObjectLongHashMap<String> fields) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(FieldDataStats stats) |
long |
getEvictions() |
com.carrotsearch.hppc.ObjectLongHashMap<String> |
getFields() |
ByteSizeValue |
getMemorySize() |
long |
getMemorySizeInBytes() |
static FieldDataStats |
readFieldDataStats(StreamInput in) |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public void add(FieldDataStats stats)
public long getMemorySizeInBytes()
public ByteSizeValue getMemorySize()
public long getEvictions()
public static FieldDataStats readFieldDataStats(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.