Class PostgreSQLAdvisoryLockTemplate
java.lang.Object
migratedb.v1.core.internal.database.postgresql.PostgreSQLAdvisoryLockTemplate
Spring-like template for executing with PostgreSQL advisory locks.
-
Method Summary
-
Method Details
-
execute
Executes this callback with an advisory lock.- Parameters:
callable- The callback to execute.- Returns:
- The result of the callable code.
-