Interface SnapshotLock

All Superinterfaces:
Configurable, Service

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

    • name

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

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