public class FilterCacheStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
FilterCacheStats() |
FilterCacheStats(long memorySize,
long evictions) |
Modifier and Type | Method and Description |
---|---|
void |
add(FilterCacheStats stats) |
long |
getEvictions() |
ByteSizeValue |
getMemorySize() |
long |
getMemorySizeInBytes() |
static FilterCacheStats |
readFilterCacheStats(StreamInput in) |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public FilterCacheStats()
public FilterCacheStats(long memorySize, long evictions)
public void add(FilterCacheStats stats)
public long getMemorySizeInBytes()
public ByteSizeValue getMemorySize()
public long getEvictions()
public static FilterCacheStats readFilterCacheStats(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–2015. All rights reserved.