Package io.debezium.pipeline.source.spi
Interface SnapshotProgressListener
-
- All Known Implementing Classes:
SnapshotChangeEventSourceMetrics
public interface SnapshotProgressListener
A class invoked bySnapshotChangeEventSource
whenever an important event or change of state happens.- Author:
- Jiri Pechanec
-
-
Field Summary
Fields Modifier and Type Field Description static SnapshotProgressListener
NO_OP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
currentChunk(String chunkId, Object[] chunkFrom, Object[] chunkTo)
void
currentChunk(String chunkId, Object[] chunkFrom, Object[] chunkTo, Object[] tableTo)
void
dataCollectionSnapshotCompleted(DataCollectionId dataCollectionId, long numRows)
void
monitoredDataCollectionsDetermined(Iterable<? extends DataCollectionId> dataCollectionIds)
void
rowsScanned(TableId tableId, long numRows)
void
snapshotAborted()
void
snapshotCompleted()
void
snapshotStarted()
-
-
-
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)
-
-