Package io.debezium.snapshot
Class SnapshotLockProvider
java.lang.Object
io.debezium.snapshot.SnapshotLockProvider
- All Implemented Interfaces:
ServiceProvider<SnapshotLock>
An implementation of the
ServiceProvider contract for the SnapshotLock.- Author:
- Mario Fiore Vitale
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger(package private) final List<SnapshotLock> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateService(io.debezium.config.Configuration configuration, ServiceRegistry serviceRegistry) Creates or provides a desired service.Get the service class that should be initiated or provided.snapshotLockingMode(CommonConnectorConfig configuration)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
snapshotLockImplementations
-
-
Constructor Details
-
SnapshotLockProvider
public SnapshotLockProvider() -
SnapshotLockProvider
-
-
Method Details
-
createService
public SnapshotLock createService(io.debezium.config.Configuration configuration, ServiceRegistry serviceRegistry) Description copied from interface:ServiceProviderCreates or provides a desired service.- Specified by:
createServicein interfaceServiceProvider<SnapshotLock>- Parameters:
configuration- the connector configurationserviceRegistry- the service registry- Returns:
- the constructed service
-
getServiceClass
Description copied from interface:ServiceProviderGet the service class that should be initiated or provided. The service class should be unique in the registry.- Specified by:
getServiceClassin interfaceServiceProvider<SnapshotLock>- Returns:
- the service class
-
snapshotLockingMode
-