Package io.debezium.pipeline.signal
Class ExecuteSnapshot<P extends Partition>
java.lang.Object
io.debezium.pipeline.signal.ExecuteSnapshot<P>
- All Implemented Interfaces:
Signal.Action<P>
The action to trigger an ad-hoc snapshot.
The action parameters are
type of snapshot and list of data-collections on which the
snapshot will be executed.- Author:
- Jiri Pechanec
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EventDispatcher<P,? extends DataCollectionId> private static final Stringprivate static final Stringprivate static final org.slf4j.Loggerstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanarrived(Signal.Payload<P> signalPayload) getDataCollections(Document data) static ExecuteSnapshot.SnapshotTypegetSnapshotType(Document data)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
FIELD_DATA_COLLECTIONS
- See Also:
-
FIELD_TYPE
- See Also:
-
NAME
- See Also:
-
dispatcher
-
-
Constructor Details
-
ExecuteSnapshot
-
-
Method Details
-
arrived
- Specified by:
arrivedin interfaceSignal.Action<P extends Partition>- Parameters:
signalPayload- the content of the signal- Returns:
- true if the signal was processed
- Throws:
InterruptedException
-
getSnapshotType
-
getDataCollections
-