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() |
getPriority
boolean supports(Database database)
void setDatabase(Database database)
void setChangeLogLockWaitTime(long changeLogLockWaitTime)
void setChangeLogLockRecheckTime(long changeLogLocRecheckTime)
boolean hasChangeLogLock()
void waitForLock() throws LockException
LockException
boolean acquireLock() throws LockException
LockException
void releaseLock() throws LockException
LockException
DatabaseChangeLogLock[] listLocks() throws LockException
LockException
void forceReleaseLock() throws LockException, DatabaseException
LockException
DatabaseException
void reset()
void init() throws DatabaseException
DatabaseException
void destroy() throws DatabaseException
DatabaseException
Copyright © 2023 Liquibase.org. All rights reserved.