org.elasticsearch.index.store
Class StoreStats
java.lang.Object
org.elasticsearch.index.store.StoreStats
- All Implemented Interfaces:
- Streamable, ToXContent
public class StoreStats
- extends Object
- implements Streamable, ToXContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoreStats
public StoreStats()
StoreStats
public StoreStats(long sizeInBytes,
long throttleTimeInNanos)
add
public void add(StoreStats stats)
sizeInBytes
public long sizeInBytes()
getSizeInBytes
public long getSizeInBytes()
size
public ByteSizeValue size()
getSize
public ByteSizeValue getSize()
throttleTime
public TimeValue throttleTime()
getThrottleTime
public TimeValue getThrottleTime()
readStoreStats
public static StoreStats readStoreStats(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
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.