public class FieldDataStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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
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.