Class SqlServerSnapshotPartitionMetrics
java.lang.Object
io.debezium.metrics.Metrics
io.debezium.connector.sqlserver.metrics.AbstractSqlServerPartitionMetrics
io.debezium.connector.sqlserver.metrics.SqlServerSnapshotPartitionMetrics
- All Implemented Interfaces:
SqlServerPartitionMetricsMXBean,SqlServerSnapshotPartitionMetricsMXBean,CommonEventMetricsMXBean,SchemaMetricsMXBean,SnapshotMetricsMXBean
class SqlServerSnapshotPartitionMetrics
extends AbstractSqlServerPartitionMetrics
implements SqlServerSnapshotPartitionMetricsMXBean
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSqlServerSnapshotPartitionMetrics(CdcSourceTaskContext taskContext, Map<String, String> tags, EventMetadataProvider metadataProvider) -
Method Summary
Modifier and TypeMethodDescription(package private) voidcurrentChunk(String chunkId, Object[] chunkFrom, Object[] chunkTo) (package private) voidcurrentChunk(String chunkId, Object[] chunkFrom, Object[] chunkTo, Object[] tableTo) (package private) voiddataCollectionSnapshotCompleted(io.debezium.spi.schema.DataCollectionId dataCollectionId, long numRows) String[]intbooleanbooleanlongbooleanint(package private) voidmonitoredDataCollectionsDetermined(Iterable<? extends io.debezium.spi.schema.DataCollectionId> dataCollectionIds) voidreset()(package private) voidrowsScanned(TableId tableId, long numRows) (package private) void(package private) void(package private) voidMethods inherited from class io.debezium.connector.sqlserver.metrics.AbstractSqlServerPartitionMetrics
getLastEvent, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getTotalNumberOfCreateEventsSeen, getTotalNumberOfDeleteEventsSeen, getTotalNumberOfEventsSeen, 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.traits.CommonEventMetricsMXBean
getLastEvent, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getTotalNumberOfCreateEventsSeen, getTotalNumberOfDeleteEventsSeen, getTotalNumberOfEventsSeen, getTotalNumberOfUpdateEventsSeen
-
Field Details
-
snapshotMeter
-
-
Constructor Details
-
SqlServerSnapshotPartitionMetrics
SqlServerSnapshotPartitionMetrics(CdcSourceTaskContext taskContext, Map<String, String> tags, EventMetadataProvider metadataProvider)
-
-
Method Details
-
getTotalTableCount
public int getTotalTableCount()- Specified by:
getTotalTableCountin interfaceSnapshotMetricsMXBean
-
getRemainingTableCount
public int getRemainingTableCount()- Specified by:
getRemainingTableCountin interfaceSnapshotMetricsMXBean
-
getSnapshotRunning
public boolean getSnapshotRunning()- Specified by:
getSnapshotRunningin interfaceSnapshotMetricsMXBean
-
getSnapshotCompleted
public boolean getSnapshotCompleted()- Specified by:
getSnapshotCompletedin interfaceSnapshotMetricsMXBean
-
getSnapshotAborted
public boolean getSnapshotAborted()- Specified by:
getSnapshotAbortedin interfaceSnapshotMetricsMXBean
-
getSnapshotDurationInSeconds
public long getSnapshotDurationInSeconds()- Specified by:
getSnapshotDurationInSecondsin interfaceSnapshotMetricsMXBean
-
getCapturedTables
- Specified by:
getCapturedTablesin interfaceSchemaMetricsMXBean
-
monitoredDataCollectionsDetermined
void monitoredDataCollectionsDetermined(Iterable<? extends io.debezium.spi.schema.DataCollectionId> dataCollectionIds) -
dataCollectionSnapshotCompleted
void dataCollectionSnapshotCompleted(io.debezium.spi.schema.DataCollectionId dataCollectionId, long numRows) -
snapshotStarted
void snapshotStarted() -
snapshotCompleted
void snapshotCompleted() -
snapshotAborted
void snapshotAborted() -
rowsScanned
-
getRowsScanned
- Specified by:
getRowsScannedin interfaceSnapshotMetricsMXBean
-
currentChunk
-
currentChunk
-
getChunkId
- Specified by:
getChunkIdin interfaceSnapshotMetricsMXBean
-
getChunkFrom
- Specified by:
getChunkFromin interfaceSnapshotMetricsMXBean
-
getChunkTo
- Specified by:
getChunkToin interfaceSnapshotMetricsMXBean
-
getTableFrom
- Specified by:
getTableFromin interfaceSnapshotMetricsMXBean
-
getTableTo
- Specified by:
getTableToin interfaceSnapshotMetricsMXBean
-
reset
public void reset()- Specified by:
resetin interfaceSqlServerPartitionMetricsMXBean- Overrides:
resetin classAbstractSqlServerPartitionMetrics
-