org.elasticsearch.index.indexing
Class IndexingStats.Stats

java.lang.Object
  extended by org.elasticsearch.index.indexing.IndexingStats.Stats
All Implemented Interfaces:
Streamable, ToXContent
Enclosing class:
IndexingStats

public static class IndexingStats.Stats
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
IndexingStats.Stats(long indexCount, long indexTimeInMillis, long indexCurrent, long deleteCount, long deleteTimeInMillis, long deleteCurrent)
           
 
Method Summary
 void add(IndexingStats.Stats stats)
           
 long deleteCount()
           
 long deleteCurrent()
           
 TimeValue deleteTime()
           
 long deleteTimeInMillis()
           
 long getDeleteCount()
           
 long getDeleteCurrent()
           
 long getDeleteTimeInMillis()
           
 long getIndexCount()
           
 long getIndexCurrent()
           
 long getIndexTimeInMillis()
           
 long indexCount()
           
 long indexCurrent()
           
 TimeValue indexTime()
           
 long indexTimeInMillis()
           
 void readFrom(StreamInput in)
           
static IndexingStats.Stats readStats(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

IndexingStats.Stats

public IndexingStats.Stats(long indexCount,
                           long indexTimeInMillis,
                           long indexCurrent,
                           long deleteCount,
                           long deleteTimeInMillis,
                           long deleteCurrent)
Method Detail

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.