liquibase.lockservice
Class LockService
java.lang.Object
liquibase.lockservice.LockService
public class LockService
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static LockService getInstance(Database database)
setChangeLogLockWaitTime
public void setChangeLogLockWaitTime(long changeLogLockWaitTime)
setChangeLogLockRecheckTime
public void setChangeLogLockRecheckTime(long changeLogLocRecheckTime)
hasChangeLogLock
public boolean hasChangeLogLock()
waitForLock
public void waitForLock()
throws LockException
- Throws:
LockException
acquireLock
public boolean acquireLock()
throws LockException
- Throws:
LockException
releaseLock
public void releaseLock()
throws LockException
- Throws:
LockException
listLocks
public DatabaseChangeLogLock[] listLocks()
throws LockException
- Throws:
LockException
forceReleaseLock
public void forceReleaseLock()
throws LockException,
DatabaseException
- Releases whatever locks are on the database change log table
- Throws:
LockException
DatabaseException
reset
public void reset()
- Clears information the lock handler knows about the tables. Should only be called by Liquibase internal calls
resetAll
public static void resetAll()
Copyright © 2012 Liquibase.org. All Rights Reserved.