Class IndexerJobStats

    • Field Detail

      • NUM_INPUT_DOCUMENTS

        public static ParseField NUM_INPUT_DOCUMENTS
      • NUM_OUTPUT_DOCUMENTS

        public static ParseField NUM_OUTPUT_DOCUMENTS
      • NUM_INVOCATIONS

        public static ParseField NUM_INVOCATIONS
      • INDEX_TIME_IN_MS

        public static ParseField INDEX_TIME_IN_MS
      • SEARCH_TIME_IN_MS

        public static ParseField SEARCH_TIME_IN_MS
      • INDEX_TOTAL

        public static ParseField INDEX_TOTAL
      • SEARCH_TOTAL

        public static ParseField SEARCH_TOTAL
      • SEARCH_FAILURES

        public static ParseField SEARCH_FAILURES
      • INDEX_FAILURES

        public static ParseField INDEX_FAILURES
      • numPages

        protected final long numPages
      • numInputDocuments

        protected final long numInputDocuments
      • numOuputDocuments

        protected final long numOuputDocuments
      • numInvocations

        protected final long numInvocations
      • indexTime

        protected final long indexTime
      • indexTotal

        protected final long indexTotal
      • searchTime

        protected final long searchTime
      • searchTotal

        protected final long searchTotal
      • indexFailures

        protected final long indexFailures
      • searchFailures

        protected final long searchFailures
    • Constructor Detail

      • IndexerJobStats

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

      • 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
      • 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
      • 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