Class IndexerJobStats

java.lang.Object
org.elasticsearch.client.core.IndexerJobStats
Direct Known Subclasses:
GetRollupJobResponse.RollupIndexerJobStats

public abstract class IndexerJobStats
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static org.elasticsearch.common.ParseField INDEX_FAILURES  
    static org.elasticsearch.common.ParseField INDEX_TIME_IN_MS  
    static org.elasticsearch.common.ParseField INDEX_TOTAL  
    protected long indexFailures  
    protected long indexTime  
    protected long indexTotal  
    static org.elasticsearch.common.ParseField NUM_INPUT_DOCUMENTS  
    static org.elasticsearch.common.ParseField NUM_INVOCATIONS  
    static org.elasticsearch.common.ParseField NUM_OUTPUT_DOCUMENTS  
    static org.elasticsearch.common.ParseField NUM_PAGES  
    protected long numInputDocuments  
    protected long numInvocations  
    protected long numOuputDocuments  
    protected long numPages  
    static org.elasticsearch.common.ParseField PROCESSING_TIME_IN_MS  
    static org.elasticsearch.common.ParseField PROCESSING_TOTAL  
    protected long processingTime  
    protected long processingTotal  
    static org.elasticsearch.common.ParseField SEARCH_FAILURES  
    static org.elasticsearch.common.ParseField SEARCH_TIME_IN_MS  
    static org.elasticsearch.common.ParseField SEARCH_TOTAL  
    protected long searchFailures  
    protected long searchTime  
    protected long searchTotal  
  • Constructor Summary

    Constructors 
    Constructor Description
    IndexerJobStats​(long numPages, long numInputDocuments, long numOutputDocuments, long numInvocations, long indexTime, long searchTime, long processingTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object other)  
    long getIndexFailures()
    Number of index failures that have occurred
    long getIndexTime()
    Returns the time spent indexing (cumulative) in milliseconds
    long getIndexTotal()
    Returns the total number of indexing requests that have been processed (Note: this is not the number of _documents_ that have been indexed)
    long getNumDocuments()
    The number of documents read from the input indices
    long getNumInvocations()
    Number of times that the job woke up to write documents
    long getNumPages()
    The number of pages read from the input indices
    long getOutputDocuments()
    Number of documents written
    long getProcessingTime()
    Returns the time spent processing (cumulative) in milliseconds
    long getProcessingTotal()
    Returns the total number of processing runs that have been made
    long getSearchFailures()
    Number of failures that have occurred
    long getSearchTime()
    Returns the time spent searching (cumulative) in milliseconds
    long getSearchTotal()
    Returns the total number of search requests that have been made
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • IndexerJobStats

      public IndexerJobStats​(long numPages, long numInputDocuments, long numOutputDocuments, long numInvocations, long indexTime, long searchTime, long processingTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures)
  • Method Details

    • getNumPages

      public long getNumPages()
      The number of pages read from the input indices
    • getNumDocuments

      public long getNumDocuments()
      The number of documents read from the input indices
    • getNumInvocations

      public long getNumInvocations()
      Number of times that the job woke up to write documents
    • getOutputDocuments

      public long getOutputDocuments()
      Number of documents written
    • getIndexFailures

      public long getIndexFailures()
      Number of index failures that have occurred
    • getSearchFailures

      public long getSearchFailures()
      Number of failures that have occurred
    • getIndexTime

      public long getIndexTime()
      Returns the time spent indexing (cumulative) in milliseconds
    • getSearchTime

      public long getSearchTime()
      Returns the time spent searching (cumulative) in milliseconds
    • getProcessingTime

      public long getProcessingTime()
      Returns the time spent processing (cumulative) in milliseconds
    • getIndexTotal

      public long getIndexTotal()
      Returns the total number of indexing requests that have been processed (Note: this is not the number of _documents_ that have been indexed)
    • getSearchTotal

      public long getSearchTotal()
      Returns the total number of search requests that have been made
    • getProcessingTotal

      public long getProcessingTotal()
      Returns the total number of processing runs that have been made
    • equals

      public boolean equals​(java.lang.Object other)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public final java.lang.String toString()
      Overrides:
      toString in class java.lang.Object