Package org.elasticsearch.client.core
Class IndexerJobStats
java.lang.Object
org.elasticsearch.client.core.IndexerJobStats
- Direct Known Subclasses:
GetRollupJobResponse.RollupIndexerJobStats
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldprotected final longprotected final longprotected final longstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldprotected final longprotected final longprotected final longprotected final longstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldprotected final longprotected final longstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldprotected final longprotected final longprotected final long -
Constructor Summary
ConstructorsConstructorDescriptionIndexerJobStats(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 TypeMethodDescriptionbooleanlongNumber of index failures that have occurredlongReturns the time spent indexing (cumulative) in millisecondslongReturns the total number of indexing requests that have been processed (Note: this is not the number of _documents_ that have been indexed)longThe number of documents read from the input indiceslongNumber of times that the job woke up to write documentslongThe number of pages read from the input indiceslongNumber of documents writtenlongReturns the time spent processing (cumulative) in millisecondslongReturns the total number of processing runs that have been madelongNumber of failures that have occurredlongReturns the time spent searching (cumulative) in millisecondslongReturns the total number of search requests that have been madeinthashCode()final StringtoString()
-
Field Details
-
NUM_PAGES
public static org.elasticsearch.xcontent.ParseField NUM_PAGES -
NUM_INPUT_DOCUMENTS
public static org.elasticsearch.xcontent.ParseField NUM_INPUT_DOCUMENTS -
NUM_OUTPUT_DOCUMENTS
public static org.elasticsearch.xcontent.ParseField NUM_OUTPUT_DOCUMENTS -
NUM_INVOCATIONS
public static org.elasticsearch.xcontent.ParseField NUM_INVOCATIONS -
INDEX_TIME_IN_MS
public static org.elasticsearch.xcontent.ParseField INDEX_TIME_IN_MS -
SEARCH_TIME_IN_MS
public static org.elasticsearch.xcontent.ParseField SEARCH_TIME_IN_MS -
PROCESSING_TIME_IN_MS
public static org.elasticsearch.xcontent.ParseField PROCESSING_TIME_IN_MS -
INDEX_TOTAL
public static org.elasticsearch.xcontent.ParseField INDEX_TOTAL -
SEARCH_TOTAL
public static org.elasticsearch.xcontent.ParseField SEARCH_TOTAL -
PROCESSING_TOTAL
public static org.elasticsearch.xcontent.ParseField PROCESSING_TOTAL -
SEARCH_FAILURES
public static org.elasticsearch.xcontent.ParseField SEARCH_FAILURES -
INDEX_FAILURES
public static org.elasticsearch.xcontent.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 -
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
-
hashCode
public int hashCode() -
toString
-