liquibase.lockservice.ext
Class NoOpLockService
java.lang.Object
liquibase.lockservice.ext.NoOpLockService
- All Implemented Interfaces:
- liquibase.lockservice.LockService, liquibase.servicelocator.PrioritizedService
public class NoOpLockService
- extends Object
- implements liquibase.lockservice.LockService
| Fields inherited from interface liquibase.servicelocator.PrioritizedService |
PRIORITY_DATABASE, PRIORITY_DEFAULT |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpLockService
public NoOpLockService()
getPriority
public int getPriority()
- Specified by:
getPriority in interface liquibase.servicelocator.PrioritizedService
supports
public boolean supports(liquibase.database.Database database)
- Specified by:
supports in interface liquibase.lockservice.LockService
setDatabase
public void setDatabase(liquibase.database.Database database)
- Specified by:
setDatabase in interface liquibase.lockservice.LockService
setChangeLogLockWaitTime
public void setChangeLogLockWaitTime(long changeLogLockWaitTime)
- Specified by:
setChangeLogLockWaitTime in interface liquibase.lockservice.LockService
setChangeLogLockRecheckTime
public void setChangeLogLockRecheckTime(long changeLogLocRecheckTime)
- Specified by:
setChangeLogLockRecheckTime in interface liquibase.lockservice.LockService
hasChangeLogLock
public boolean hasChangeLogLock()
- Specified by:
hasChangeLogLock in interface liquibase.lockservice.LockService
waitForLock
public void waitForLock()
throws liquibase.exception.LockException
- Specified by:
waitForLock in interface liquibase.lockservice.LockService
- Throws:
liquibase.exception.LockException
acquireLock
public boolean acquireLock()
throws liquibase.exception.LockException
- Specified by:
acquireLock in interface liquibase.lockservice.LockService
- Throws:
liquibase.exception.LockException
releaseLock
public void releaseLock()
throws liquibase.exception.LockException
- Specified by:
releaseLock in interface liquibase.lockservice.LockService
- Throws:
liquibase.exception.LockException
listLocks
public liquibase.lockservice.DatabaseChangeLogLock[] listLocks()
throws liquibase.exception.LockException
- Specified by:
listLocks in interface liquibase.lockservice.LockService
- Throws:
liquibase.exception.LockException
forceReleaseLock
public void forceReleaseLock()
throws liquibase.exception.LockException,
liquibase.exception.DatabaseException
- Specified by:
forceReleaseLock in interface liquibase.lockservice.LockService
- Throws:
liquibase.exception.LockException
liquibase.exception.DatabaseException
reset
public void reset()
- Specified by:
reset in interface liquibase.lockservice.LockService
init
public void init()
throws liquibase.exception.DatabaseException
- Specified by:
init in interface liquibase.lockservice.LockService
- Throws:
liquibase.exception.DatabaseException
destroy
public void destroy()
throws liquibase.exception.DatabaseException
- Specified by:
destroy in interface liquibase.lockservice.LockService
- Throws:
liquibase.exception.DatabaseException
Copyright © 2014 Liquibase.org. All rights reserved.