Class SnapshotReaderMetrics
java.lang.Object
io.debezium.metrics.Metrics
io.debezium.pipeline.metrics.PipelineMetrics<P>
io.debezium.pipeline.metrics.DefaultSnapshotChangeEventSourceMetrics<MySqlPartition>
io.debezium.connector.mysql.legacy.SnapshotReaderMetrics
- All Implemented Interfaces:
SnapshotReaderMetricsMXBean,ChangeEventSourceMetrics<MySqlPartition>,ChangeEventSourceMetricsMXBean,SnapshotChangeEventSourceMetrics<MySqlPartition>,SnapshotChangeEventSourceMetricsMXBean,CommonEventMetricsMXBean,QueueMetricsMXBean,SchemaMetricsMXBean,SnapshotMetricsMXBean,DataChangeEventListener<MySqlPartition>,SnapshotProgressListener<MySqlPartition>
class SnapshotReaderMetrics
extends DefaultSnapshotChangeEventSourceMetrics<MySqlPartition>
implements SnapshotReaderMetricsMXBean
- Author:
- Randall Hauch
-
Field Summary
FieldsFields inherited from class io.debezium.pipeline.metrics.PipelineMetrics
metadataProvider, taskContext -
Constructor Summary
ConstructorsConstructorDescriptionSnapshotReaderMetrics(MySqlTaskContext taskContext, ChangeEventQueueMetrics changeEventQueueMetrics) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongvoidvoidMethods inherited from class io.debezium.pipeline.metrics.DefaultSnapshotChangeEventSourceMetrics
currentChunk, currentChunk, dataCollectionSnapshotCompleted, getCapturedTables, getChunkFrom, getChunkId, getChunkTo, getMonitoredTables, getRemainingTableCount, getRowsScanned, getSnapshotAborted, getSnapshotCompleted, getSnapshotDurationInSeconds, getSnapshotRunning, getTableFrom, getTableTo, getTotalTableCount, monitoredDataCollectionsDetermined, reset, rowsScanned, snapshotAborted, snapshotCompleted, snapshotStartedMethods inherited from class io.debezium.pipeline.metrics.PipelineMetrics
getCurrentQueueSizeInBytes, getLastEvent, getMaxQueueSizeInBytes, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getQueueRemainingCapacity, getQueueTotalCapacity, getTotalNumberOfCreateEventsSeen, getTotalNumberOfDeleteEventsSeen, getTotalNumberOfUpdateEventsSeen, onConnectorEvent, onErroneousEvent, onErroneousEvent, onEvent, onFilteredEvent, onFilteredEventMethods inherited from class io.debezium.metrics.Metrics
metricName, metricName, register, unregisterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.pipeline.metrics.ChangeEventSourceMetrics
register, unregisterMethods inherited from interface io.debezium.pipeline.metrics.ChangeEventSourceMetricsMXBean
getMonitoredTables, resetMethods inherited from interface io.debezium.pipeline.metrics.traits.CommonEventMetricsMXBean
getLastEvent, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getTotalNumberOfCreateEventsSeen, getTotalNumberOfDeleteEventsSeen, getTotalNumberOfUpdateEventsSeenMethods inherited from interface io.debezium.pipeline.source.spi.DataChangeEventListener
onConnectorEvent, onErroneousEvent, onErroneousEvent, onEvent, onFilteredEvent, onFilteredEventMethods inherited from interface io.debezium.pipeline.metrics.traits.QueueMetricsMXBean
getCurrentQueueSizeInBytes, getMaxQueueSizeInBytes, getQueueRemainingCapacity, getQueueTotalCapacityMethods inherited from interface io.debezium.pipeline.metrics.traits.SchemaMetricsMXBean
getCapturedTablesMethods inherited from interface io.debezium.pipeline.metrics.traits.SnapshotMetricsMXBean
getChunkFrom, getChunkId, getChunkTo, getRemainingTableCount, getRowsScanned, getSnapshotAborted, getSnapshotCompleted, getSnapshotDurationInSeconds, getSnapshotRunning, getTableFrom, getTableTo, getTotalTableCount
-
Field Details
-
holdingGlobalLock
-
-
Constructor Details
-
SnapshotReaderMetrics
public SnapshotReaderMetrics(MySqlTaskContext taskContext, ChangeEventQueueMetrics changeEventQueueMetrics)
-
-
Method Details
-
getHoldingGlobalLock
public boolean getHoldingGlobalLock()- Specified by:
getHoldingGlobalLockin interfaceSnapshotReaderMetricsMXBean
-
globalLockAcquired
public void globalLockAcquired() -
globalLockReleased
public void globalLockReleased() -
getTotalNumberOfEventsSeen
public long getTotalNumberOfEventsSeen()- Specified by:
getTotalNumberOfEventsSeenin interfaceCommonEventMetricsMXBean- Overrides:
getTotalNumberOfEventsSeenin classPipelineMetrics<MySqlPartition>
-