Package io.debezium.pipeline.source.spi
Interface SnapshotProgressListener
-
- All Known Implementing Classes:
SnapshotChangeEventSourceMetrics
public interface SnapshotProgressListenerA class invoked bySnapshotChangeEventSourcewhenever an important event or change of state happens.- Author:
- Jiri Pechanec
-
-
Field Summary
Fields Modifier and Type Field Description static SnapshotProgressListenerNO_OP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcurrentChunk(String chunkId, Object[] from, Object[] to)voiddataCollectionSnapshotCompleted(DataCollectionId dataCollectionId, long numRows)voidmonitoredDataCollectionsDetermined(Iterable<? extends DataCollectionId> dataCollectionIds)voidrowsScanned(TableId tableId, long numRows)voidsnapshotAborted()voidsnapshotCompleted()voidsnapshotStarted()
-
-
-
Field Detail
-
NO_OP
static final SnapshotProgressListener NO_OP
-
-
Method Detail
-
snapshotStarted
void snapshotStarted()
-
monitoredDataCollectionsDetermined
void monitoredDataCollectionsDetermined(Iterable<? extends DataCollectionId> dataCollectionIds)
-
snapshotCompleted
void snapshotCompleted()
-
snapshotAborted
void snapshotAborted()
-
dataCollectionSnapshotCompleted
void dataCollectionSnapshotCompleted(DataCollectionId dataCollectionId, long numRows)
-
rowsScanned
void rowsScanned(TableId tableId, long numRows)
-
-