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
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EventDispatcher<P,
? extends DataCollectionId> private static final String
private static final String
private static final org.slf4j.Logger
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
arrived
(Signal.Payload<P> signalPayload) getDataCollections
(Document data) static ExecuteSnapshot.SnapshotType
getSnapshotType
(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:
arrived
in interfaceSignal.Action<P extends Partition>
- Parameters:
signalPayload
- the content of the signal- Returns:
- true if the signal was processed
- Throws:
InterruptedException
-
getSnapshotType
-
getDataCollections
-