org.elasticsearch.index.indexing
Class IndexingStats.Stats
java.lang.Object
org.elasticsearch.index.indexing.IndexingStats.Stats
- All Implemented Interfaces:
- Streamable, ToXContent
- Enclosing class:
- IndexingStats
public static class IndexingStats.Stats
- extends Object
- implements Streamable, ToXContent
Constructor Summary |
IndexingStats.Stats(long indexCount,
long indexTimeInMillis,
long indexCurrent,
long deleteCount,
long deleteTimeInMillis,
long deleteCurrent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexingStats.Stats
public IndexingStats.Stats(long indexCount,
long indexTimeInMillis,
long indexCurrent,
long deleteCount,
long deleteTimeInMillis,
long deleteCurrent)
add
public void add(IndexingStats.Stats stats)
indexCount
public long indexCount()
getIndexCount
public long getIndexCount()
indexTime
public TimeValue indexTime()
indexTimeInMillis
public long indexTimeInMillis()
getIndexTimeInMillis
public long getIndexTimeInMillis()
indexCurrent
public long indexCurrent()
getIndexCurrent
public long getIndexCurrent()
deleteCount
public long deleteCount()
getDeleteCount
public long getDeleteCount()
deleteTime
public TimeValue deleteTime()
deleteTimeInMillis
public long deleteTimeInMillis()
getDeleteTimeInMillis
public long getDeleteTimeInMillis()
deleteCurrent
public long deleteCurrent()
getDeleteCurrent
public long getDeleteCurrent()
readStats
public static IndexingStats.Stats readStats(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.