Class KeycloakLockService
- java.lang.Object
-
- liquibase.lockservice.StandardLockService
-
- org.keycloak.models.map.storage.jpa.liquibase.lockservice.KeycloakLockService
-
- All Implemented Interfaces:
liquibase.lockservice.LockService,liquibase.servicelocator.PrioritizedService
public class KeycloakLockService extends liquibase.lockservice.StandardLockServiceExtending the LiquibaseStandardLockServicefor situations where it failed on a H2 database.- Author:
- Alexander Schwartz
-
-
Constructor Summary
Constructors Constructor Description KeycloakLockService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPriority()protected booleanhasDatabaseChangeLogLockTable()-
Methods inherited from class liquibase.lockservice.StandardLockService
acquireLock, destroy, forceReleaseLock, getChangeLogLockRecheckTime, getChangeLogLockWaitTime, hasChangeLogLock, hasDatabaseChangeLogLockTable, init, isDatabaseChangeLogLockTableInitialized, isDatabaseChangeLogLockTableInitialized, listLocks, releaseLock, reset, setChangeLogLockRecheckTime, setChangeLogLockWaitTime, setDatabase, supports, waitForLock
-
-
-
-
Method Detail
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceliquibase.servicelocator.PrioritizedService- Overrides:
getPriorityin classliquibase.lockservice.StandardLockService
-
hasDatabaseChangeLogLockTable
protected boolean hasDatabaseChangeLogLockTable() throws liquibase.exception.DatabaseException- Overrides:
hasDatabaseChangeLogLockTablein classliquibase.lockservice.StandardLockService- Throws:
liquibase.exception.DatabaseException
-
-