Class StandardLockServiceYdb

java.lang.Object
liquibase.lockservice.StandardLockService
tech.ydb.liquibase.lockservice.StandardLockServiceYdb
All Implemented Interfaces:
liquibase.lockservice.LockService, liquibase.servicelocator.PrioritizedService

public class StandardLockServiceYdb extends liquibase.lockservice.StandardLockService
Author:
Kirill Kurdyukov
  • 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
    boolean
     
    void
     

    Methods inherited from class liquibase.lockservice.StandardLockService

    destroy, forceReleaseLock, getChangeLogLockRecheckTime, getChangeLogLockWaitTime, getPriority, hasChangeLogLock, hasDatabaseChangeLogLockTable, hasDatabaseChangeLogLockTable, init, isDatabaseChangeLogLockTableInitialized, isDatabaseChangeLogLockTableInitialized, listLocks, 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

    • StandardLockServiceYdb

      public StandardLockServiceYdb()
  • Method Details

    • acquireLock

      public boolean acquireLock() throws liquibase.exception.LockException
      Specified by:
      acquireLock in interface liquibase.lockservice.LockService
      Overrides:
      acquireLock 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