Module org.elasticsearch.xcore
Class TransformIndexerStats
java.lang.Object
org.elasticsearch.xpack.core.indexing.IndexerJobStats
org.elasticsearch.xpack.core.transform.transforms.TransformIndexerStats
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic final Stringstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ParseFieldFields inherited from class org.elasticsearch.xpack.core.indexing.IndexerJobStats
indexFailures, indexTime, indexTotal, numInputDocuments, numInvocations, numOuputDocuments, numPages, processingTime, processingTotal, searchFailures, searchTime, searchTotalFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionCreate with all stats set to zeroTransformIndexerStats(long numPages, long numInputDocuments, long numOutputDocuments, long numDeletedDocuments, long numInvocations, long indexTime, long searchTime, long processingTime, long deleteTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures, double expAvgCheckpointDurationMs, double expAvgDocumentsIndexed, double expAvgDocumentsProcessed) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TransformIndexerStatsfromXContent(org.elasticsearch.xcontent.XContentParser parser) longdoubledoubledoublelonginthashCode()voidincrementCheckpointExponentialAverages(long checkpointDurationMs, long docsIndexed, long docsProcessed) voidincrementNumDeletedDocuments(long n) voidvoidtoString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.core.indexing.IndexerJobStats
getIndexFailures, getIndexTime, getIndexTotal, getNumDocuments, getNumInvocations, getNumPages, getOutputDocuments, getProcessingTime, getProcessingTotal, getSearchFailures, getSearchTime, getSearchTotal, incrementIndexingFailures, incrementNumDocuments, incrementNumInvocations, incrementNumOutputDocuments, incrementNumPages, incrementSearchFailures, markEndIndexing, markEndProcessing, markEndSearch, markStartIndexing, markStartProcessing, markStartSearchMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
- See Also:
-
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_DELETED_DOCUMENTS
public static org.elasticsearch.xcontent.ParseField NUM_DELETED_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 -
DELETE_TIME_IN_MS
public static org.elasticsearch.xcontent.ParseField DELETE_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 -
EXPONENTIAL_AVG_CHECKPOINT_DURATION_MS
public static org.elasticsearch.xcontent.ParseField EXPONENTIAL_AVG_CHECKPOINT_DURATION_MS -
EXPONENTIAL_AVG_DOCUMENTS_INDEXED
public static org.elasticsearch.xcontent.ParseField EXPONENTIAL_AVG_DOCUMENTS_INDEXED -
EXPONENTIAL_AVG_DOCUMENTS_PROCESSED
public static org.elasticsearch.xcontent.ParseField EXPONENTIAL_AVG_DOCUMENTS_PROCESSED
-
-
Constructor Details
-
TransformIndexerStats
public TransformIndexerStats()Create with all stats set to zero -
TransformIndexerStats
public TransformIndexerStats(long numPages, long numInputDocuments, long numOutputDocuments, long numDeletedDocuments, long numInvocations, long indexTime, long searchTime, long processingTime, long deleteTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures, double expAvgCheckpointDurationMs, double expAvgDocumentsIndexed, double expAvgDocumentsProcessed) -
TransformIndexerStats
-
TransformIndexerStats
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classIndexerJobStats- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Throws:
IOException
-
getDeleteTime
public long getDeleteTime() -
getNumDeletedDocuments
public long getNumDeletedDocuments() -
getExpAvgCheckpointDurationMs
public double getExpAvgCheckpointDurationMs() -
getExpAvgDocumentsIndexed
public double getExpAvgDocumentsIndexed() -
getExpAvgDocumentsProcessed
public double getExpAvgDocumentsProcessed() -
incrementNumDeletedDocuments
public void incrementNumDeletedDocuments(long n) -
markStartDelete
public void markStartDelete() -
markEndDelete
public void markEndDelete() -
incrementCheckpointExponentialAverages
public void incrementCheckpointExponentialAverages(long checkpointDurationMs, long docsIndexed, long docsProcessed) -
equals
- Overrides:
equalsin classIndexerJobStats
-
hashCode
public int hashCode()- Overrides:
hashCodein classIndexerJobStats
-
toString
-
fromXContent
-