public class FilterCacheStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_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
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–2016. All rights reserved.