Class ClearSharedPartitionOperation
java.lang.Object
io.debezium.connector.spanner.task.operation.ClearSharedPartitionOperation
- All Implemented Interfaces:
Operation
Clear partition from the shared section of the task state,
after partition was picked up by another task
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate TaskSyncContextclear(TaskSyncContext taskSyncContext) doOperation(TaskSyncContext taskSyncContext) boolean
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
isRequiredPublishSyncEvent
private boolean isRequiredPublishSyncEvent
-
-
Constructor Details
-
ClearSharedPartitionOperation
public ClearSharedPartitionOperation()
-
-
Method Details
-
clear
-
isRequiredPublishSyncEvent
public boolean isRequiredPublishSyncEvent()- Specified by:
isRequiredPublishSyncEventin interfaceOperation
-
doOperation
- Specified by:
doOperationin interfaceOperation
-