org.elasticsearch.index.cache
Class CacheStats

java.lang.Object
  extended by org.elasticsearch.index.cache.CacheStats
All Implemented Interfaces:
Streamable, ToXContent

public class CacheStats
extends Object
implements Streamable, ToXContent


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
CacheStats()
           
CacheStats(long fieldEvictions, long filterEvictions, long fieldSize, long filterSize, long filterCount, long bloomSize)
           
 
Method Summary
 void add(CacheStats stats)
           
 ByteSizeValue bloomSize()
           
 long bloomSizeInBytes()
           
 long fieldEvictions()
           
 ByteSizeValue fieldSize()
           
 long fieldSizeInBytes()
           
 long filterCount()
           
 long filterEvictions()
           
 long filterMemEvictions()
           
 ByteSizeValue filterSize()
           
 long filterSizeInBytes()
           
 ByteSizeValue getBloomSize()
           
 long getBloomSizeInBytes()
           
 long getFieldEvictions()
           
 ByteSizeValue getFieldSize()
           
 long getFieldSizeInBytes()
           
 long getFilterCount()
           
 long getFilterEvictions()
           
 long getFilterMemEvictions()
           
 ByteSizeValue getFilterSize()
           
 long getFilterSizeInBytes()
           
static CacheStats readCacheStats(StreamInput in)
           
 void readFrom(StreamInput in)
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheStats

public CacheStats()

CacheStats

public CacheStats(long fieldEvictions,
                  long filterEvictions,
                  long fieldSize,
                  long filterSize,
                  long filterCount,
                  long bloomSize)
Method Detail

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.