Package org.elasticsearch.client.core
Class IndexerJobStats
java.lang.Object
org.elasticsearch.client.core.IndexerJobStats
- Direct Known Subclasses:
GetRollupJobResponse.RollupIndexerJobStats
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.xcontent.ParseField
static org.elasticsearch.xcontent.ParseField
static org.elasticsearch.xcontent.ParseField
protected final long
protected final long
protected final long
static org.elasticsearch.xcontent.ParseField
static org.elasticsearch.xcontent.ParseField
static org.elasticsearch.xcontent.ParseField
static org.elasticsearch.xcontent.ParseField
protected final long
protected final long
protected final long
protected final long
static org.elasticsearch.xcontent.ParseField
static org.elasticsearch.xcontent.ParseField
protected final long
protected final long
static org.elasticsearch.xcontent.ParseField
static org.elasticsearch.xcontent.ParseField
static org.elasticsearch.xcontent.ParseField
protected final long
protected final long
protected final long
-
Constructor Summary
ConstructorDescriptionIndexerJobStats
(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 TypeMethodDescriptionboolean
long
Number of index failures that have occurredlong
Returns the time spent indexing (cumulative) in millisecondslong
Returns the total number of indexing requests that have been processed (Note: this is not the number of _documents_ that have been indexed)long
The number of documents read from the input indiceslong
Number of times that the job woke up to write documentslong
The number of pages read from the input indiceslong
Number of documents writtenlong
Returns the time spent processing (cumulative) in millisecondslong
Returns the total number of processing runs that have been madelong
Number of failures that have occurredlong
Returns the time spent searching (cumulative) in millisecondslong
Returns the total number of search requests that have been madeint
hashCode()
final String
toString()
-
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
-