Class SQLServerApplicationLockTemplate
- java.lang.Object
-
- migratedb.v1.core.internal.database.sqlserver.SQLServerApplicationLockTemplate
-
public class SQLServerApplicationLockTemplate extends Object
Spring-like template for executing with SQL Server application locks.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Texecute(Callable<T> callable)Executes this callback with an advisory lock.
-
-
-
Method Detail
-
execute
public <T> T execute(Callable<T> callable)
Executes this callback with an advisory lock.- Parameters:
callable- The callback to execute.- Returns:
- The result of the callable code.
-
-