public class CustomLockService
extends liquibase.lockservice.StandardLockService
| Constructor and Description |
|---|
CustomLockService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acquireLock() |
void |
init() |
boolean |
isDatabaseChangeLogLockTableInitialized(boolean tableJustCreated) |
void |
releaseLock() |
void |
waitForLock() |
void |
waitForLock(DBLockProvider.Namespace lock) |
destroy, forceReleaseLock, getChangeLogLockRecheckTime, getChangeLogLockWaitTime, getPriority, hasChangeLogLock, hasDatabaseChangeLogLockTable, listLocks, reset, setChangeLogLockRecheckTime, setChangeLogLockWaitTime, setDatabase, supportspublic void init()
throws liquibase.exception.DatabaseException
init in interface liquibase.lockservice.LockServiceinit in class liquibase.lockservice.StandardLockServiceliquibase.exception.DatabaseExceptionpublic boolean isDatabaseChangeLogLockTableInitialized(boolean tableJustCreated)
throws liquibase.exception.DatabaseException
isDatabaseChangeLogLockTableInitialized in class liquibase.lockservice.StandardLockServiceliquibase.exception.DatabaseExceptionpublic void waitForLock()
waitForLock in interface liquibase.lockservice.LockServicewaitForLock in class liquibase.lockservice.StandardLockServicepublic void waitForLock(DBLockProvider.Namespace lock)
public boolean acquireLock()
acquireLock in interface liquibase.lockservice.LockServiceacquireLock in class liquibase.lockservice.StandardLockServicepublic void releaseLock()
releaseLock in interface liquibase.lockservice.LockServicereleaseLock in class liquibase.lockservice.StandardLockServiceCopyright © 2019 JBoss by Red Hat. All rights reserved.