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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KeycloakLockService

      public KeycloakLockService()
  • Method Details

    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface liquibase.servicelocator.PrioritizedService
      Overrides:
      getPriority in class liquibase.lockservice.StandardLockService
    • hasDatabaseChangeLogLockTable

      protected boolean hasDatabaseChangeLogLockTable() throws liquibase.exception.DatabaseException
      Overrides:
      hasDatabaseChangeLogLockTable in class liquibase.lockservice.StandardLockService
      Throws:
      liquibase.exception.DatabaseException