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