Package org.elasticsearch.client.core
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 ParseField
INDEX_FAILURES
static ParseField
INDEX_TIME_IN_MS
static ParseField
INDEX_TOTAL
protected long
indexFailures
protected long
indexTime
protected long
indexTotal
static ParseField
NUM_INPUT_DOCUMENTS
static ParseField
NUM_INVOCATIONS
static ParseField
NUM_OUTPUT_DOCUMENTS
static ParseField
NUM_PAGES
protected long
numInputDocuments
protected long
numInvocations
protected long
numOuputDocuments
protected long
numPages
static ParseField
PROCESSING_TIME_IN_MS
static ParseField
PROCESSING_TOTAL
protected long
processingTime
protected long
processingTotal
static ParseField
SEARCH_FAILURES
static ParseField
SEARCH_TIME_IN_MS
static 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 occurredlong
getIndexTime()
Returns the time spent indexing (cumulative) in millisecondslong
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 indiceslong
getNumInvocations()
Number of times that the job woke up to write documentslong
getNumPages()
The number of pages read from the input indiceslong
getOutputDocuments()
Number of documents writtenlong
getProcessingTime()
Returns the time spent processing (cumulative) in millisecondslong
getProcessingTotal()
Returns the total number of processing runs that have been madelong
getSearchFailures()
Number of failures that have occurredlong
getSearchTime()
Returns the time spent searching (cumulative) in millisecondslong
getSearchTotal()
Returns the total number of search requests that have been madeint
hashCode()
java.lang.String
toString()
-
Field Details
-
NUM_PAGES
-
NUM_INPUT_DOCUMENTS
-
NUM_OUTPUT_DOCUMENTS
-
NUM_INVOCATIONS
-
INDEX_TIME_IN_MS
-
SEARCH_TIME_IN_MS
-
PROCESSING_TIME_IN_MS
-
INDEX_TOTAL
-
SEARCH_TOTAL
-
PROCESSING_TOTAL
-
SEARCH_FAILURES
-
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 -
processingTime
protected final long processingTime -
processingTotal
protected final long processingTotal -
indexFailures
protected final long indexFailures -
searchFailures
protected final long searchFailures
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public final java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-