Package liquibase.lockservice
Interface LockService
- All Superinterfaces:
PrioritizedService
- All Known Implementing Classes:
LockServiceImpl,MockLockService,OfflineLockService,StandardLockService
-
Field Summary
Fields inherited from interface liquibase.servicelocator.PrioritizedService
COMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoiddestroy()voidReleases whatever locks are on the database change log tablebooleanvoidinit()voidvoidreset()Clears information the lock handler knows about the tables.voidsetChangeLogLockRecheckTime(long changeLogLockRecheckTime) voidsetChangeLogLockWaitTime(long changeLogLockWaitTime) voidsetDatabase(Database database) booleanvoidMethods inherited from interface liquibase.servicelocator.PrioritizedService
getPriority
-
Method Details
-
supports
-
setDatabase
-
setChangeLogLockWaitTime
void setChangeLogLockWaitTime(long changeLogLockWaitTime) -
setChangeLogLockRecheckTime
void setChangeLogLockRecheckTime(long changeLogLockRecheckTime) -
hasChangeLogLock
boolean hasChangeLogLock() -
waitForLock
- Throws:
LockException
-
acquireLock
- Throws:
LockException
-
releaseLock
- Throws:
LockException
-
listLocks
- Throws:
LockException
-
forceReleaseLock
Releases whatever locks are on the database change log table- Throws:
LockExceptionDatabaseException
-
reset
void reset()Clears information the lock handler knows about the tables. Should only be called by Liquibase internal calls -
init
- Throws:
DatabaseException
-
destroy
- Throws:
DatabaseException
-