Interface SnapshotLock

All Superinterfaces:
Configurable, Service
All Known Implementing Classes:
NoLockingSupport

public interface SnapshotLock extends Configurable, Service
SnapshotLock is used to determine the table lock mode used during schema snapshot
Author:
Mario Fiore Vitale
  • Method Summary

    Modifier and Type
    Method
    Description
     
    tableLockingStatement(Duration lockTimeout, String tableId)
    Returns a SQL statement for locking the given tables during snapshotting, if required by the specific snapshotter implementation.

    Methods inherited from interface io.debezium.spi.common.Configurable

    configure
  • Method Details

    • name

      String name()
      Returns:
      the name of the snapshot lock.
    • tableLockingStatement

      Optional<String> tableLockingStatement(Duration lockTimeout, String tableId)
      Returns a SQL statement for locking the given tables during snapshotting, if required by the specific snapshotter implementation.