| java.lang.Object org.apache.ojb.broker.locking.LockManagerRemoteImpl
LockManagerRemoteImpl | public class LockManagerRemoteImpl implements LockManager,Configurable(Code) | | This implementation of the
LockManager interface supports locking
in distributed environments in combination with a specific lock servlet.
See Also: LockManagerServlet version: $Id: LockManagerRemoteImpl.java,v 1.1.2.2 2005/12/21 22:25:32 tomdz Exp $ |
Inner Class :final public static class LockInfo implements Serializable | |
Method Summary | |
public void | configure(Configuration pConfig) | 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 byte[] | serialize(Object obj) | public void | setBlockTimeout(long timeout) | public void | setLockTimeout(long timeout) | public boolean | upgradeLock(Object key, Object resourceId, int isolationLevel) | public boolean | writeLock(Object key, Object resourceId, int isolationLevel) |
METHOD_BLOCK_TIMEOUT | final public static byte METHOD_BLOCK_TIMEOUT(Code) | | |
METHOD_BLOCK_TIMEOUT_SET | final public static byte METHOD_BLOCK_TIMEOUT_SET(Code) | | |
METHOD_CHECK_READ | final public static byte METHOD_CHECK_READ(Code) | | |
METHOD_CHECK_UPGRADE | final public static byte METHOD_CHECK_UPGRADE(Code) | | |
METHOD_CHECK_WRITE | final public static byte METHOD_CHECK_WRITE(Code) | | |
METHOD_LOCK_INFO | final public static byte METHOD_LOCK_INFO(Code) | | |
METHOD_LOCK_TIMEOUT | final public static byte METHOD_LOCK_TIMEOUT(Code) | | |
METHOD_LOCK_TIMEOUT_SET | final public static byte METHOD_LOCK_TIMEOUT_SET(Code) | | |
METHOD_READ_LOCK | final public static byte METHOD_READ_LOCK(Code) | | |
METHOD_RELEASE_LOCKS | final public static byte METHOD_RELEASE_LOCKS(Code) | | |
METHOD_RELEASE_SINGLE_LOCK | final public static byte METHOD_RELEASE_SINGLE_LOCK(Code) | | |
METHOD_UPGRADE_LOCK | final public static byte METHOD_UPGRADE_LOCK(Code) | | |
METHOD_WRITE_LOCK | final public static byte METHOD_WRITE_LOCK(Code) | | |
LockManagerRemoteImpl | public LockManagerRemoteImpl()(Code) | | |
getBlockTimeout | public long getBlockTimeout()(Code) | | |
getLockTimeout | public long getLockTimeout()(Code) | | |
setBlockTimeout | public void setBlockTimeout(long timeout)(Code) | | noop
|
setLockTimeout | public void setLockTimeout(long timeout)(Code) | | noop
Parameters: timeout - |
upgradeLock | public boolean upgradeLock(Object key, Object resourceId, int isolationLevel)(Code) | | |
writeLock | public boolean writeLock(Object key, Object resourceId, int isolationLevel)(Code) | | |
|
|