Class SegmentGenerationMetrics
java.lang.Object
org.apache.druid.segment.realtime.SegmentGenerationMetrics
Metrics for segment generation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMessageGapStatstracks message gap statistics and is thread-safe. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongdedup()longlongSeeMessageGapStatsfor current gaurantees on thread-safety.longvoidvoidvoidvoidincrementMergedRows(long rows) voidvoidincrementPersistBackPressureMillis(long millis) voidincrementPersistTimeMillis(long millis) voidincrementPushedRows(long rows) voidincrementRowOutputCount(long numRows) booleanvoidlonglonglonglonglonglonglonglonglonglongvoidreportMaxSegmentHandoffTime(long maxSegmentHandoffTime) voidreportMessageGap(long messageGap) voidreportMessageMaxTimestamp(long messageMaxTimestamp) longvoidsetSinkCount(long sinkCount) longsnapshot()
-
Constructor Details
-
SegmentGenerationMetrics
public SegmentGenerationMetrics()
-
-
Method Details
-
incrementRowOutputCount
public void incrementRowOutputCount(long numRows) -
incrementNumPersists
public void incrementNumPersists() -
incrementPersistTimeMillis
public void incrementPersistTimeMillis(long millis) -
incrementPersistBackPressureMillis
public void incrementPersistBackPressureMillis(long millis) -
incrementFailedPersists
public void incrementFailedPersists() -
incrementFailedHandoffs
public void incrementFailedHandoffs() -
incrementMergedRows
public void incrementMergedRows(long rows) -
incrementPushedRows
public void incrementPushedRows(long rows) -
incrementHandOffCount
public void incrementHandOffCount() -
setSinkCount
public void setSinkCount(long sinkCount) -
reportMessageGap
public void reportMessageGap(long messageGap) -
reportMessageMaxTimestamp
public void reportMessageMaxTimestamp(long messageMaxTimestamp) -
reportMaxSegmentHandoffTime
public void reportMaxSegmentHandoffTime(long maxSegmentHandoffTime) -
markProcessingDone
public void markProcessingDone() -
isProcessingDone
public boolean isProcessingDone() -
dedup
public long dedup() -
rowOutput
public long rowOutput() -
numPersists
public long numPersists() -
persistTimeMillis
public long persistTimeMillis() -
persistBackPressureMillis
public long persistBackPressureMillis() -
failedPersists
public long failedPersists() -
failedHandoffs
public long failedHandoffs() -
mergedRows
public long mergedRows() -
pushedRows
public long pushedRows() -
mergeTimeMillis
public long mergeTimeMillis() -
mergeCpuTime
public long mergeCpuTime() -
persistCpuTime
public long persistCpuTime() -
handOffCount
public long handOffCount() -
sinkCount
public long sinkCount() -
getMessageGapStats
SeeMessageGapStatsfor current gaurantees on thread-safety. -
messageGap
public long messageGap() -
maxSegmentHandoffTime
public long maxSegmentHandoffTime() -
snapshot
-