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
Constructors Constructor Description SqlServerSnapshotTaskMetrics(CdcSourceTaskContext taskContext, ChangeEventQueueMetrics changeEventQueueMetrics, EventMetadataProvider metadataProvider, Collection<SqlServerPartition> partitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcurrentChunk(SqlServerPartition partition, String chunkId, Object[] chunkFrom, Object[] chunkTo)voidcurrentChunk(SqlServerPartition partition, String chunkId, Object[] chunkFrom, Object[] chunkTo, Object[] tableTo)voiddataCollectionSnapshotCompleted(SqlServerPartition partition, DataCollectionId dataCollectionId, long numRows)voidmonitoredDataCollectionsDetermined(SqlServerPartition partition, Iterable<? extends 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, unregister
-
Methods inherited from class io.debezium.metrics.Metrics
metricName, metricName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.pipeline.metrics.ChangeEventSourceMetrics
register, unregister
-
Methods inherited from interface io.debezium.pipeline.source.spi.DataChangeEventListener
onConnectorEvent, onErroneousEvent, onErroneousEvent, onEvent, onFilteredEvent, onFilteredEvent
-
-
-
-
Constructor Detail
-
SqlServerSnapshotTaskMetrics
SqlServerSnapshotTaskMetrics(CdcSourceTaskContext taskContext, ChangeEventQueueMetrics changeEventQueueMetrics, EventMetadataProvider metadataProvider, Collection<SqlServerPartition> partitions)
-
-
Method Detail
-
snapshotStarted
public void snapshotStarted(SqlServerPartition partition)
- Specified by:
snapshotStartedin interfaceSnapshotProgressListener<SqlServerPartition>
-
monitoredDataCollectionsDetermined
public void monitoredDataCollectionsDetermined(SqlServerPartition partition, Iterable<? extends DataCollectionId> dataCollectionIds)
- Specified by:
monitoredDataCollectionsDeterminedin interfaceSnapshotProgressListener<SqlServerPartition>
-
snapshotCompleted
public void snapshotCompleted(SqlServerPartition partition)
- Specified by:
snapshotCompletedin interfaceSnapshotProgressListener<SqlServerPartition>
-
snapshotAborted
public void snapshotAborted(SqlServerPartition partition)
- Specified by:
snapshotAbortedin interfaceSnapshotProgressListener<SqlServerPartition>
-
dataCollectionSnapshotCompleted
public void dataCollectionSnapshotCompleted(SqlServerPartition partition, DataCollectionId dataCollectionId, long numRows)
- Specified by:
dataCollectionSnapshotCompletedin interfaceSnapshotProgressListener<SqlServerPartition>
-
rowsScanned
public void rowsScanned(SqlServerPartition partition, TableId tableId, long numRows)
- 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>
-
-