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 TypeMethodDescriptionboolean
void
destroy()
void
Releases whatever locks are on the database change log tableboolean
void
init()
void
void
reset()
Clears information the lock handler knows about the tables.void
setChangeLogLockRecheckTime
(long changeLogLockRecheckTime) void
setChangeLogLockWaitTime
(long changeLogLockWaitTime) void
setDatabase
(Database database) boolean
void
Methods 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:
LockException
DatabaseException
-
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
-