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
-
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)
-
Constructor Details
-
SnapshotLockProvider
public 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
-