Top Fields Methods
liquibase.lockservice

public Interface LockService

extends PrioritizedService
Known Direct Implementers
liquibase.lockservice.MockLockService, liquibase.lockservice.OfflineLockService, liquibase.lockservice.StandardLockService
Imports
liquibase.database.Database, liquibase.exception.DatabaseException, .LockException, liquibase.servicelocator.PrioritizedService

Field Summary

Inherited from liquibase.servicelocator.PrioritizedService:
COMPARATORPRIORITY_DATABASEPRIORITY_DEFAULT

Method Summary

Modifier and TypeMethod and Description
public boolean
public void
public void
forceReleaseLock()

Releases whatever locks are on the database change log table

public boolean
public void
init()

public DatabaseChangeLogLock[]
public void
public void
reset()

Clears information the lock handler knows about the tables.

public void
setChangeLogLockRecheckTime(long changeLogLockRecheckTime)

public void
setChangeLogLockWaitTime(long changeLogLockWaitTime)

public void
public boolean
supports(Database database)

public void
Inherited from liquibase.servicelocator.PrioritizedService:
getPriority

Method Detail

acquireLockback to summary
public boolean acquireLock() throws LockException
destroyback to summary
public void destroy() throws DatabaseException
forceReleaseLockback to summary
public void forceReleaseLock() throws LockException, DatabaseException

Releases whatever locks are on the database change log table

hasChangeLogLockback to summary
public boolean hasChangeLogLock()
initback to summary
public void init() throws DatabaseException
listLocksback to summary
public DatabaseChangeLogLock[] listLocks() throws LockException
releaseLockback to summary
public void releaseLock() throws LockException
resetback to summary
public void reset()

Clears information the lock handler knows about the tables. Should only be called by Liquibase internal calls

setChangeLogLockRecheckTimeback to summary
public void setChangeLogLockRecheckTime(long changeLogLockRecheckTime)
setChangeLogLockWaitTimeback to summary
public void setChangeLogLockWaitTime(long changeLogLockWaitTime)
setDatabaseback to summary
public void setDatabase(Database database)
supportsback to summary
public boolean supports(Database database)
waitForLockback to summary
public void waitForLock() throws LockException