Class 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 Detail

      • KeycloakLockService

        public KeycloakLockService()
    • Method Detail

      • 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