Package io.debezium.snapshot
Class SnapshotLockProvider
java.lang.Object
io.debezium.snapshot.AbstractSnapshotProvider
io.debezium.snapshot.SnapshotLockProvider
- All Implemented Interfaces:
ServiceProvider<SnapshotLock>
public class SnapshotLockProvider
extends AbstractSnapshotProvider
implements 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(Configuration configuration, ServiceRegistry serviceRegistry) Creates or provides a desired service.Get the service class that should be initiated or provided.snapshotLockingMode(CommonConnectorConfig configuration) Methods inherited from class io.debezium.snapshot.AbstractSnapshotProvider
isForCurrentConnector
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
snapshotLockImplementations
-
-
Constructor Details
-
SnapshotLockProvider
public SnapshotLockProvider() -
SnapshotLockProvider
-
-
Method Details
-
createService
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
-