liquibase.lockservice
Interface LockService
- All Superinterfaces:
- PrioritizedService
- All Known Implementing Classes:
- LockServiceImpl, OfflineLockService, StandardLockService
public interface LockService
- extends PrioritizedService
- Author:
- John Sanda
supports
boolean supports(Database database)
setDatabase
void setDatabase(Database database)
setChangeLogLockWaitTime
void setChangeLogLockWaitTime(long changeLogLockWaitTime)
setChangeLogLockRecheckTime
void setChangeLogLockRecheckTime(long changeLogLocRecheckTime)
hasChangeLogLock
boolean hasChangeLogLock()
waitForLock
void waitForLock()
throws LockException
- Throws:
LockException
acquireLock
boolean acquireLock()
throws LockException
- Throws:
LockException
releaseLock
void releaseLock()
throws LockException
- Throws:
LockException
listLocks
DatabaseChangeLogLock[] listLocks()
throws LockException
- Throws:
LockException
forceReleaseLock
void forceReleaseLock()
throws LockException,
DatabaseException
- Releases whatever locks are on the database change log table
- Throws:
LockException
DatabaseException
reset
void reset()
- Clears information the lock handler knows about the tables. Should only be called by Liquibase internal calls
init
void init()
throws DatabaseException
- Throws:
DatabaseException
destroy
void destroy()
throws DatabaseException
- Throws:
DatabaseException
Copyright © 2016 Liquibase.org. All rights reserved.