Class MySQLNamedLockTemplate
java.lang.Object
migratedb.v1.core.internal.database.mysql.MySQLNamedLockTemplate
Spring-like template for executing with MySQL named locks.
-
Method Summary
-
Method Details
-
execute
Executes this callback with a named lock.- Parameters:
callable- The callback to execute.- Returns:
- The result of the callable code.
-