org.elasticsearch.index.cache
Class CacheStats
java.lang.Object
org.elasticsearch.index.cache.CacheStats
- All Implemented Interfaces:
- Streamable, ToXContent
public class CacheStats
- extends Object
- implements Streamable, ToXContent
Constructor Summary |
CacheStats()
|
CacheStats(long fieldEvictions,
long filterEvictions,
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 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 IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
readCacheStats
public static CacheStats readCacheStats(StreamInput in)
throws IOException
- Throws:
IOException
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.