Class DummyLockService

  • All Implemented Interfaces:
    liquibase.lockservice.LockService, liquibase.servicelocator.PrioritizedService

    public class DummyLockService
    extends liquibase.lockservice.StandardLockService
    Dummy lock service injected to Liquibase. Doesn't need to do anything as we already have a lock when Liquibase update is called.
    Author:
    Marek Posolda
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getPriority()  
      void init()  
      void releaseLock()  
      void waitForLock()  
      • Methods inherited from class liquibase.lockservice.StandardLockService

        acquireLock, destroy, forceReleaseLock, getChangeLogLockRecheckTime, getChangeLogLockWaitTime, hasChangeLogLock, hasDatabaseChangeLogLockTable, hasDatabaseChangeLogLockTable, isDatabaseChangeLogLockTableInitialized, isDatabaseChangeLogLockTableInitialized, listLocks, reset, setChangeLogLockRecheckTime, setChangeLogLockWaitTime, setDatabase, supports
    • Constructor Detail

      • DummyLockService

        public DummyLockService()
    • Method Detail

      • getPriority

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

        public void init()
                  throws liquibase.exception.DatabaseException
        Specified by:
        init in interface liquibase.lockservice.LockService
        Overrides:
        init in class liquibase.lockservice.StandardLockService
        Throws:
        liquibase.exception.DatabaseException
      • waitForLock

        public void waitForLock()
                         throws liquibase.exception.LockException
        Specified by:
        waitForLock in interface liquibase.lockservice.LockService
        Overrides:
        waitForLock in class liquibase.lockservice.StandardLockService
        Throws:
        liquibase.exception.LockException
      • releaseLock

        public void releaseLock()
                         throws liquibase.exception.LockException
        Specified by:
        releaseLock in interface liquibase.lockservice.LockService
        Overrides:
        releaseLock in class liquibase.lockservice.StandardLockService
        Throws:
        liquibase.exception.LockException