Top Constructors Methods
liquibase.lockservice

public Class MockLockService

extends Object
implements LockService
Class Inheritance
All Implemented Interfaces
liquibase.lockservice.LockService, liquibase.servicelocator.PrioritizedService
Imports
liquibase.database.Database, liquibase.exception.DatabaseException, .LockException, liquibase.database.core.MockDatabase

Author
John Sanda

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements liquibase.lockservice.LockService.forceReleaseLock.

Releases whatever locks are on the database change log table

public int
public boolean
public void
public DatabaseChangeLogLock[]
public void
public void
reset()

Implements liquibase.lockservice.LockService.reset.

Clears information the lock handler knows about the tables.

public void
public void
public void
public boolean
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MockLockServiceback to summary
public MockLockService()

Method Detail

acquireLockback to summary
public boolean acquireLock() throws LockException

Implements liquibase.lockservice.LockService.acquireLock.

Annotations
@Override
destroyback to summary
public void destroy() throws DatabaseException

Implements liquibase.lockservice.LockService.destroy.

Annotations
@Override
forceReleaseLockback to summary
public void forceReleaseLock() throws LockException, DatabaseException

Implements liquibase.lockservice.LockService.forceReleaseLock.

Doc from liquibase.lockservice.LockService.forceReleaseLock.

Releases whatever locks are on the database change log table

Annotations
@Override
getPriorityback to summary
public int getPriority()

Implements liquibase.servicelocator.PrioritizedService.getPriority.

Annotations
@Override
hasChangeLogLockback to summary
public boolean hasChangeLogLock()

Implements liquibase.lockservice.LockService.hasChangeLogLock.

Annotations
@Override
initback to summary
public void init() throws DatabaseException

Implements liquibase.lockservice.LockService.init.

Annotations
@Override
listLocksback to summary
public DatabaseChangeLogLock[] listLocks() throws LockException

Implements liquibase.lockservice.LockService.listLocks.

Annotations
@Override
releaseLockback to summary
public void releaseLock() throws LockException

Implements liquibase.lockservice.LockService.releaseLock.

Annotations
@Override
resetback to summary
public void reset()

Implements liquibase.lockservice.LockService.reset.

Doc from liquibase.lockservice.LockService.reset.

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

Annotations
@Override
setChangeLogLockRecheckTimeback to summary
public void setChangeLogLockRecheckTime(long changeLogLockRecheckTime)

Implements liquibase.lockservice.LockService.setChangeLogLockRecheckTime.

Annotations
@Override
setChangeLogLockWaitTimeback to summary
public void setChangeLogLockWaitTime(long changeLogLockWaitTime)

Implements liquibase.lockservice.LockService.setChangeLogLockWaitTime.

Annotations
@Override
setDatabaseback to summary
public void setDatabase(Database database)

Implements liquibase.lockservice.LockService.setDatabase.

Annotations
@Override
supportsback to summary
public boolean supports(Database database)

Implements liquibase.lockservice.LockService.supports.

Annotations
@Override
waitForLockback to summary
public void waitForLock() throws LockException

Implements liquibase.lockservice.LockService.waitForLock.

Annotations
@Override