public class RequestCacheStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
RequestCacheStats() |
RequestCacheStats(long memorySize,
long evictions,
long hitCount,
long missCount) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
add(RequestCacheStats stats) |
long |
getEvictions() |
long |
getHitCount() |
ByteSizeValue |
getMemorySize() |
long |
getMemorySizeInBytes() |
long |
getMissCount() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public RequestCacheStats()
public RequestCacheStats(long memorySize,
long evictions,
long hitCount,
long missCount)
public void add(RequestCacheStats stats)
public long getMemorySizeInBytes()
public ByteSizeValue getMemorySize()
public long getEvictions()
public long getHitCount()
public long getMissCount()
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.