Class SqlServerSnapshotTaskMetrics
java.lang.Object
io.debezium.metrics.Metrics
io.debezium.connector.sqlserver.metrics.AbstractSqlServerTaskMetrics<SqlServerSnapshotPartitionMetrics>
io.debezium.connector.sqlserver.metrics.SqlServerSnapshotTaskMetrics
- All Implemented Interfaces:
SqlServerTaskMetricsMXBean,ChangeEventSourceMetrics<SqlServerPartition>,SnapshotChangeEventSourceMetrics<SqlServerPartition>,QueueMetricsMXBean,DataChangeEventListener<SqlServerPartition>,SnapshotProgressListener<SqlServerPartition>
class SqlServerSnapshotTaskMetrics
extends AbstractSqlServerTaskMetrics<SqlServerSnapshotPartitionMetrics>
implements SnapshotChangeEventSourceMetrics<SqlServerPartition>
-
Constructor Summary
ConstructorsConstructorDescriptionSqlServerSnapshotTaskMetrics(CdcSourceTaskContext taskContext, ChangeEventQueueMetrics changeEventQueueMetrics, EventMetadataProvider metadataProvider, Collection<SqlServerPartition> partitions) -
Method Summary
Modifier and TypeMethodDescriptionvoidcurrentChunk(SqlServerPartition partition, String chunkId, Object[] chunkFrom, Object[] chunkTo) voidcurrentChunk(SqlServerPartition partition, String chunkId, Object[] chunkFrom, Object[] chunkTo, Object[] tableTo) voiddataCollectionSnapshotCompleted(SqlServerPartition partition, io.debezium.spi.schema.DataCollectionId dataCollectionId, long numRows) voidmonitoredDataCollectionsDetermined(SqlServerPartition partition, Iterable<? extends io.debezium.spi.schema.DataCollectionId> dataCollectionIds) voidrowsScanned(SqlServerPartition partition, TableId tableId, long numRows) voidsnapshotAborted(SqlServerPartition partition) voidsnapshotCompleted(SqlServerPartition partition) voidsnapshotStarted(SqlServerPartition partition) Methods inherited from class io.debezium.connector.sqlserver.metrics.AbstractSqlServerTaskMetrics
getCurrentQueueSizeInBytes, getMaxQueueSizeInBytes, getQueueRemainingCapacity, getQueueTotalCapacity, onConnectorEvent, onErroneousEvent, onErroneousEvent, onEvent, onFilteredEvent, onFilteredEvent, onPartitionEvent, register, reset, unregisterMethods inherited from class io.debezium.metrics.Metrics
metricName, metricNameMethods 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.source.spi.DataChangeEventListener
onConnectorEvent, onErroneousEvent, onErroneousEvent, onEvent, onFilteredEvent, onFilteredEvent
-
Constructor Details
-
SqlServerSnapshotTaskMetrics
SqlServerSnapshotTaskMetrics(CdcSourceTaskContext taskContext, ChangeEventQueueMetrics changeEventQueueMetrics, EventMetadataProvider metadataProvider, Collection<SqlServerPartition> partitions)
-
-
Method Details
-
snapshotStarted
- Specified by:
snapshotStartedin interfaceSnapshotProgressListener<SqlServerPartition>
-
monitoredDataCollectionsDetermined
public void monitoredDataCollectionsDetermined(SqlServerPartition partition, Iterable<? extends io.debezium.spi.schema.DataCollectionId> dataCollectionIds) - Specified by:
monitoredDataCollectionsDeterminedin interfaceSnapshotProgressListener<SqlServerPartition>
-
snapshotCompleted
- Specified by:
snapshotCompletedin interfaceSnapshotProgressListener<SqlServerPartition>
-
snapshotAborted
- Specified by:
snapshotAbortedin interfaceSnapshotProgressListener<SqlServerPartition>
-
dataCollectionSnapshotCompleted
public void dataCollectionSnapshotCompleted(SqlServerPartition partition, io.debezium.spi.schema.DataCollectionId dataCollectionId, long numRows) - Specified by:
dataCollectionSnapshotCompletedin interfaceSnapshotProgressListener<SqlServerPartition>
-
rowsScanned
- Specified by:
rowsScannedin interfaceSnapshotProgressListener<SqlServerPartition>
-
currentChunk
public void currentChunk(SqlServerPartition partition, String chunkId, Object[] chunkFrom, Object[] chunkTo) - Specified by:
currentChunkin interfaceSnapshotProgressListener<SqlServerPartition>
-
currentChunk
public void currentChunk(SqlServerPartition partition, String chunkId, Object[] chunkFrom, Object[] chunkTo, Object[] tableTo) - Specified by:
currentChunkin interfaceSnapshotProgressListener<SqlServerPartition>
-