Package org.flywaydb.database.mysql
Class MySQLNamedLockTemplate
java.lang.Object
org.flywaydb.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.
-