nl.hippo.portal.locking
Class RequestLockImpl
java.lang.Object
nl.hippo.portal.locking.RequestLockImpl
- All Implemented Interfaces:
- nl.hippo.portal.locking.RequestLock
public class RequestLockImpl
- extends java.lang.Object
- implements nl.hippo.portal.locking.RequestLock
- Version:
- $Id:CMSRequestLockImpl.java 19178 2007-02-06 10:52:55Z adouma $
|
Constructor Summary |
RequestLockImpl(org.apache.commons.transaction.locking.ReadWriteUpgradeLockManager manager,
java.lang.Long id,
long readLockTimeout,
long writeLockTimeout)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestLockImpl
public RequestLockImpl(org.apache.commons.transaction.locking.ReadWriteUpgradeLockManager manager,
java.lang.Long id,
long readLockTimeout,
long writeLockTimeout)
readLock
public boolean readLock()
- Specified by:
readLock in interface nl.hippo.portal.locking.RequestLock
upgradeLock
public boolean upgradeLock()
- Specified by:
upgradeLock in interface nl.hippo.portal.locking.RequestLock
writeLock
public boolean writeLock()
- Specified by:
writeLock in interface nl.hippo.portal.locking.RequestLock
release
public void release()
- Specified by:
release in interface nl.hippo.portal.locking.RequestLock
Copyright © 2007-2008 . All Rights Reserved.