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.StandardLockService
Extending the LiquibaseStandardLockService
for 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 int
getPriority()
protected boolean
hasDatabaseChangeLogLockTable()
-
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:
getPriority
in interfaceliquibase.servicelocator.PrioritizedService
- Overrides:
getPriority
in classliquibase.lockservice.StandardLockService
-
hasDatabaseChangeLogLockTable
protected boolean hasDatabaseChangeLogLockTable() throws liquibase.exception.DatabaseException
- Overrides:
hasDatabaseChangeLogLockTable
in classliquibase.lockservice.StandardLockService
- Throws:
liquibase.exception.DatabaseException
-
-