public interface LockService extends PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT| Modifier and Type | Method and Description |
|---|---|
boolean |
acquireLock() |
void |
destroy() |
void |
forceReleaseLock()
Releases whatever locks are on the database change log table
|
boolean |
hasChangeLogLock() |
void |
init() |
DatabaseChangeLogLock[] |
listLocks() |
void |
releaseLock() |
void |
reset()
Clears information the lock handler knows about the tables.
|
void |
setChangeLogLockRecheckTime(long changeLogLocRecheckTime) |
void |
setChangeLogLockWaitTime(long changeLogLockWaitTime) |
void |
setDatabase(Database database) |
boolean |
supports(Database database) |
void |
waitForLock() |
getPriorityboolean supports(Database database)
void setDatabase(Database database)
void setChangeLogLockWaitTime(long changeLogLockWaitTime)
void setChangeLogLockRecheckTime(long changeLogLocRecheckTime)
boolean hasChangeLogLock()
void waitForLock()
throws LockException
LockExceptionboolean acquireLock()
throws LockException
LockExceptionvoid releaseLock()
throws LockException
LockExceptionDatabaseChangeLogLock[] listLocks() throws LockException
LockExceptionvoid forceReleaseLock()
throws LockException,
DatabaseException
LockExceptionDatabaseExceptionvoid reset()
void init()
throws DatabaseException
DatabaseExceptionvoid destroy()
throws DatabaseException
DatabaseExceptionCopyright © 2018 Liquibase.org. All rights reserved.