Class ConnectorEndDetectionOperation
java.lang.Object
io.debezium.connector.spanner.task.operation.ConnectorEndDetectionOperation
- All Implemented Interfaces:
Operation
Notify user about the finishing of connector work
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.google.cloud.Timestampprivate final Runnableprivate booleanprivate static final org.slf4j.Logger -
Constructor Summary
ConstructorsConstructorDescriptionConnectorEndDetectionOperation(Runnable finishingWorkHandler, com.google.cloud.Timestamp endTime) -
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
finishingWorkHandler
-
endTime
private final com.google.cloud.Timestamp endTime -
isRequiredPublishSyncEvent
private boolean isRequiredPublishSyncEvent
-
-
Constructor Details
-
ConnectorEndDetectionOperation
public ConnectorEndDetectionOperation(Runnable finishingWorkHandler, com.google.cloud.Timestamp endTime)
-
-
Method Details
-
isRequiredPublishSyncEvent
public boolean isRequiredPublishSyncEvent()- Specified by:
isRequiredPublishSyncEventin interfaceOperation
-
doOperation
- Specified by:
doOperationin interfaceOperation
-