org.elasticsearch.indices
Class NodeIndicesStats
java.lang.Object
org.elasticsearch.indices.NodeIndicesStats
- All Implemented Interfaces:
- java.io.Serializable, Streamable, ToXContent
public class NodeIndicesStats
- extends java.lang.Object
- implements Streamable, java.io.Serializable, ToXContent
Global information on indices stats running on a specific node.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeIndicesStats
public NodeIndicesStats(ByteSizeValue storeSize,
ByteSizeValue fieldCacheSize,
ByteSizeValue filterCacheSize,
long fieldCacheEvictions)
storeSize
public ByteSizeValue storeSize()
- The size of the index storage taken on the node.
getStoreSize
public ByteSizeValue getStoreSize()
- The size of the index storage taken on the node.
fieldCacheSize
public ByteSizeValue fieldCacheSize()
getFieldCacheSize
public ByteSizeValue getFieldCacheSize()
filterCacheSize
public ByteSizeValue filterCacheSize()
getFilterCacheSize
public ByteSizeValue getFilterCacheSize()
fieldCacheEvictions
public long fieldCacheEvictions()
getFieldCacheEvictions
public long getFieldCacheEvictions()
readIndicesStats
public static NodeIndicesStats readIndicesStats(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
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws java.io.IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
java.io.IOException