org.elasticsearch.index.cache
Class CacheStats
java.lang.Object
org.elasticsearch.index.cache.CacheStats
- All Implemented Interfaces:
- Streamable, ToXContent
public class CacheStats
- extends java.lang.Object
- implements Streamable, ToXContent
Constructor Summary |
CacheStats()
|
CacheStats(long fieldEvictions,
long filterEvictions,
long filterMemEvictions,
long fieldSize,
long filterSize,
long filterCount,
long bloomSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheStats
public CacheStats()
CacheStats
public CacheStats(long fieldEvictions,
long filterEvictions,
long filterMemEvictions,
long fieldSize,
long filterSize,
long filterCount,
long bloomSize)
add
public void add(CacheStats stats)
fieldEvictions
public long fieldEvictions()
getFieldEvictions
public long getFieldEvictions()
filterEvictions
public long filterEvictions()
getFilterEvictions
public long getFilterEvictions()
filterMemEvictions
public long filterMemEvictions()
getFilterMemEvictions
public long getFilterMemEvictions()
filterCount
public long filterCount()
getFilterCount
public long getFilterCount()
fieldSizeInBytes
public long fieldSizeInBytes()
getFieldSizeInBytes
public long getFieldSizeInBytes()
fieldSize
public ByteSizeValue fieldSize()
getFieldSize
public ByteSizeValue getFieldSize()
filterSizeInBytes
public long filterSizeInBytes()
getFilterSizeInBytes
public long getFilterSizeInBytes()
filterSize
public ByteSizeValue filterSize()
getFilterSize
public ByteSizeValue getFilterSize()
bloomSizeInBytes
public long bloomSizeInBytes()
getBloomSizeInBytes
public long getBloomSizeInBytes()
bloomSize
public ByteSizeValue bloomSize()
getBloomSize
public ByteSizeValue getBloomSize()
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws java.io.IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
java.io.IOException
readCacheStats
public static CacheStats readCacheStats(StreamInput in)
throws java.io.IOException
- Throws:
java.io.IOException
readFrom
public void readFrom(StreamInput in)
throws java.io.IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
java.io.IOException