Interface IncrementalSnapshotChangeEventSource<P extends Partition,T extends DataCollectionId>
-
- Type Parameters:
T- data collection id class
- All Known Implementing Classes:
AbstractIncrementalSnapshotChangeEventSource,SignalBasedIncrementalSnapshotChangeEventSource
public interface IncrementalSnapshotChangeEventSource<P extends Partition,T extends DataCollectionId>A Contract t- Author:
- Jiri Pechanec
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaddDataCollectionNamesToSnapshot(P partition, List<String> dataCollectionIds, OffsetContext offsetContext)voidcloseWindow(P partition, String id, OffsetContext offsetContext)voidinit(P partition, OffsetContext offsetContext)default voidprocessFilteredEvent(P partition, OffsetContext offsetContext)default voidprocessHeartbeat(P partition, OffsetContext offsetContext)voidprocessMessage(P partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext)default voidprocessTransactionCommittedEvent(P partition, OffsetContext offsetContext)default voidprocessTransactionStartedEvent(P partition, OffsetContext offsetContext)
-
-
-
Method Detail
-
closeWindow
void closeWindow(P partition, String id, OffsetContext offsetContext) throws InterruptedException
- Throws:
InterruptedException
-
processMessage
void processMessage(P partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext) throws InterruptedException
- Throws:
InterruptedException
-
init
void init(P partition, OffsetContext offsetContext)
-
addDataCollectionNamesToSnapshot
void addDataCollectionNamesToSnapshot(P partition, List<String> dataCollectionIds, OffsetContext offsetContext) throws InterruptedException
- Throws:
InterruptedException
-
processHeartbeat
default void processHeartbeat(P partition, OffsetContext offsetContext) throws InterruptedException
- Throws:
InterruptedException
-
processFilteredEvent
default void processFilteredEvent(P partition, OffsetContext offsetContext) throws InterruptedException
- Throws:
InterruptedException
-
processTransactionStartedEvent
default void processTransactionStartedEvent(P partition, OffsetContext offsetContext) throws InterruptedException
- Throws:
InterruptedException
-
processTransactionCommittedEvent
default void processTransactionCommittedEvent(P partition, OffsetContext offsetContext) throws InterruptedException
- Throws:
InterruptedException
-
-