public class TaskIOMetricGroup extends ProxyMetricGroup<TaskMetricGroup>
Modifier and Type | Class and Description |
---|---|
static interface |
TaskIOMetricGroup.SizeSupplier<R>
Supplier for sizes.
|
parentMetricGroup
Constructor and Description |
---|
TaskIOMetricGroup(TaskMetricGroup parent) |
TaskIOMetricGroup(TaskMetricGroup parent,
Clock clock) |
addGroup, addGroup, addSpan, counter, counter, gauge, getAllVariables, getMetricIdentifier, getMetricIdentifier, getScopeComponents, histogram, meter
public TaskIOMetricGroup(TaskMetricGroup parent)
public TaskIOMetricGroup(TaskMetricGroup parent, Clock clock)
public IOMetrics createSnapshot()
public Counter getNumBytesInCounter()
public Counter getNumBytesOutCounter()
public Counter getNumRecordsInCounter()
public Counter getNumRecordsOutCounter()
public Counter getNumBuffersOutCounter()
public Counter getNumFiredTimers()
public Counter getNumMailsProcessedCounter()
public TimerGauge getIdleTimeMsPerSecond()
public TimerGauge getSoftBackPressuredTimePerSecond()
public TimerGauge getHardBackPressuredTimePerSecond()
public TimerGauge getChangelogBusyTimeMsPerSecond()
public long getBackPressuredTimeMsPerSecond()
public long getAccumulatedBackPressuredTimeMs()
public void markTaskStart()
public void markTaskInitializationStarted()
@VisibleForTesting public long getTaskInitializationDuration()
public void setEnableBusyTime(boolean enabled)
public Meter getMailboxThroughput()
public Histogram getMailboxLatency()
public void registerBackPressureListener(TimerGauge.StartStopListener backPressureListener)
public void unregisterBackPressureListener(TimerGauge.StartStopListener backPressureListener)
public void reuseRecordsInputCounter(Counter numRecordsInCounter)
public void reuseRecordsOutputCounter(Counter numRecordsOutCounter)
public void registerResultPartitionBytesCounter(IntermediateResultPartitionID resultPartitionId, ResultPartitionBytesCounter resultPartitionBytesCounter)
public void registerMailboxSizeSupplier(TaskIOMetricGroup.SizeSupplier<Integer> supplier)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.