| java.lang.Object org.apache.ojb.broker.locking.LockManagerCommonsImpl
LockManagerCommonsImpl | public class LockManagerCommonsImpl implements LockManager(Code) | | A
LockManager implementation based on apache's commons-transaction
locking part.
The timeout of locks is currently (OJB 1.0.2) not supported, maybe
in further versions.
author: Armin Waibel version: $Id: LockManagerCommonsImpl.java,v 1.1.2.2 2005/12/21 22:25:32 tomdz Exp $ |
Inner Class :final class LoggerFacadeImpl implements LoggerFacade | |
Method Summary | |
public long | getBlockTimeout() | public String | getLockInfo() | public long | getLockTimeout() | public boolean | hasRead(Object key, Object resourceId) | public boolean | hasUpgrade(Object key, Object resourceId) | public boolean | hasWrite(Object key, Object resourceId) | public boolean | readLock(Object key, Object resourceId, int isolationLevel) | public boolean | releaseLock(Object key, Object resourceId) | public void | releaseLocks(Object key) | public void | setBlockTimeout(long blockTimeout) | public void | setLockTimeout(long timeout) | public boolean | upgradeLock(Object key, Object resourceId, int isolationLevel) | public boolean | writeLock(Object key, Object resourceId, int isolationLevel) |
LockManagerCommonsImpl | public LockManagerCommonsImpl()(Code) | | |
getBlockTimeout | public long getBlockTimeout()(Code) | | |
getLockTimeout | public long getLockTimeout()(Code) | | |
setBlockTimeout | public void setBlockTimeout(long blockTimeout)(Code) | | |
setLockTimeout | public void setLockTimeout(long timeout)(Code) | | |
upgradeLock | public boolean upgradeLock(Object key, Object resourceId, int isolationLevel)(Code) | | |
writeLock | public boolean writeLock(Object key, Object resourceId, int isolationLevel)(Code) | | |
|
|