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 Liquibase
StandardLockService
for situations where it failed on a H2 database.- Author:
- Alexander Schwartz
-
Field Summary
Fields inherited from class liquibase.lockservice.StandardLockService
changeLogLockPollRate, changeLogLockRecheckTime, coreBundle, database, hasChangeLogLock, hasDatabaseChangeLogLockTable, isDatabaseChangeLogLockTableInitialized, quotingStrategy, random
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
protected boolean
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
-
Constructor Details
-
KeycloakLockService
public KeycloakLockService()
-
-
Method Details
-
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
-