Class LockServiceCassandra

java.lang.Object
liquibase.lockservice.StandardLockService
liquibase.ext.cassandra.lockservice.LockServiceCassandra
All Implemented Interfaces:
liquibase.lockservice.LockService, liquibase.servicelocator.PrioritizedService

public class LockServiceCassandra extends liquibase.lockservice.StandardLockService
  • Field Summary

    Fields inherited from class liquibase.lockservice.StandardLockService

    changeLogLockPollRate, changeLogLockRecheckTime, coreBundle, database, hasChangeLogLock, hasDatabaseChangeLogLockTable, 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
     
    int
     
    boolean
     
    boolean
    isDatabaseChangeLogLockTableInitialized(boolean tableJustCreated)
     
    void
     
    boolean
    supports(liquibase.database.Database database)
     

    Methods inherited from class liquibase.lockservice.StandardLockService

    destroy, forceReleaseLock, getChangeLogLockRecheckTime, getChangeLogLockWaitTime, hasChangeLogLock, init, isDatabaseChangeLogLockTableCreated, isDatabaseChangeLogLockTableInitialized, listLocks, reset, setChangeLogLockRecheckTime, setChangeLogLockWaitTime, setDatabase, waitForLock

    Methods inherited from class java.lang.Object

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

    • LockServiceCassandra

      public LockServiceCassandra()
  • Method Details

    • getPriority

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

      public boolean supports(liquibase.database.Database database)
      Specified by:
      supports in interface liquibase.lockservice.LockService
      Overrides:
      supports in class liquibase.lockservice.StandardLockService
    • 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
    • isDatabaseChangeLogLockTableCreated

      public boolean isDatabaseChangeLogLockTableCreated()
      Overrides:
      isDatabaseChangeLogLockTableCreated in class liquibase.lockservice.StandardLockService
    • isDatabaseChangeLogLockTableInitialized

      public boolean isDatabaseChangeLogLockTableInitialized(boolean tableJustCreated)
      Overrides:
      isDatabaseChangeLogLockTableInitialized in class liquibase.lockservice.StandardLockService