Class MongoDbSnapshotChangeEventSourceMetrics
java.lang.Object
io.debezium.metrics.Metrics
io.debezium.pipeline.metrics.PipelineMetrics<P>
io.debezium.pipeline.metrics.DefaultSnapshotChangeEventSourceMetrics<MongoDbPartition>
io.debezium.connector.mongodb.metrics.MongoDbSnapshotChangeEventSourceMetrics
- All Implemented Interfaces:
MongoDbSnapshotChangeEventSourceMetricsMBean,ChangeEventSourceMetrics<MongoDbPartition>,ChangeEventSourceMetricsMXBean,SnapshotChangeEventSourceMetrics<MongoDbPartition>,SnapshotChangeEventSourceMetricsMXBean,CommonEventMetricsMXBean,QueueMetricsMXBean,SchemaMetricsMXBean,SnapshotMetricsMXBean,DataChangeEventListener<MongoDbPartition>,SnapshotProgressListener<MongoDbPartition>
@ThreadSafe
public class MongoDbSnapshotChangeEventSourceMetrics
extends DefaultSnapshotChangeEventSourceMetrics<MongoDbPartition>
implements MongoDbSnapshotChangeEventSourceMetricsMBean
- Author:
- Chris Cranford
-
Field Summary
FieldsFields inherited from class io.debezium.pipeline.metrics.PipelineMetrics
metadataProvider, taskContext -
Constructor Summary
ConstructorsConstructorDescriptionMongoDbSnapshotChangeEventSourceMetrics(T taskContext, ChangeEventQueueMetrics changeEventQueueMetrics, EventMetadataProvider metadataProvider) -
Method Summary
Modifier and TypeMethodDescriptionlongvoidonConnectorEvent(MongoDbPartition partition, ConnectorEvent event) voidreset()Methods inherited from class io.debezium.pipeline.metrics.DefaultSnapshotChangeEventSourceMetrics
currentChunk, currentChunk, dataCollectionSnapshotCompleted, getCapturedTables, getChunkFrom, getChunkId, getChunkTo, getRemainingTableCount, getRowsScanned, getSnapshotAborted, getSnapshotCompleted, getSnapshotDurationInSeconds, getSnapshotRunning, getTableFrom, getTableTo, getTotalTableCount, monitoredDataCollectionsDetermined, rowsScanned, snapshotAborted, snapshotCompleted, snapshotStartedMethods inherited from class io.debezium.pipeline.metrics.PipelineMetrics
getCurrentQueueSizeInBytes, getLastEvent, getMaxQueueSizeInBytes, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getQueueRemainingCapacity, getQueueTotalCapacity, getTotalNumberOfCreateEventsSeen, getTotalNumberOfDeleteEventsSeen, getTotalNumberOfEventsSeen, getTotalNumberOfUpdateEventsSeen, 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.traits.CommonEventMetricsMXBean
getLastEvent, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getTotalNumberOfCreateEventsSeen, getTotalNumberOfDeleteEventsSeen, getTotalNumberOfEventsSeen, getTotalNumberOfUpdateEventsSeenMethods inherited from interface io.debezium.pipeline.source.spi.DataChangeEventListener
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
-
numberOfDisconnects
-
-
Constructor Details
-
MongoDbSnapshotChangeEventSourceMetrics
public MongoDbSnapshotChangeEventSourceMetrics(T taskContext, ChangeEventQueueMetrics changeEventQueueMetrics, EventMetadataProvider metadataProvider)
-
-
Method Details
-
getNumberOfDisconnects
public long getNumberOfDisconnects()- Specified by:
getNumberOfDisconnectsin interfaceMongoDbSnapshotChangeEventSourceMetricsMBean
-
onConnectorEvent
- Specified by:
onConnectorEventin interfaceDataChangeEventListener<MongoDbPartition>- Overrides:
onConnectorEventin classPipelineMetrics<MongoDbPartition>
-
reset
public void reset()- Specified by:
resetin interfaceChangeEventSourceMetricsMXBean- Overrides:
resetin classDefaultSnapshotChangeEventSourceMetrics<MongoDbPartition>
-