kodo.kernel
Class SingleJVMExclusiveLockManager
java.lang.Object
org.apache.openjpa.kernel.AbstractLockManager
org.apache.openjpa.kernel.VersionLockManager
kodo.kernel.SingleJVMExclusiveLockManager
- All Implemented Interfaces:
- LockLevels, LockManager, Closeable
public class SingleJVMExclusiveLockManager
- extends VersionLockManager
An exclusive write single-JVM lock manager.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleJVMExclusiveLockManager
public SingleJVMExclusiveLockManager()
lockInternal
protected void lockInternal(OpenJPAStateManager sm,
int level,
int timeout,
Object sdata)
- Overrides:
lockInternal
in class VersionLockManager
newLock
protected Lock newLock()
- Create a new lock.
endTransaction
public void endTransaction()
- Release all the locks held by this context.
- Specified by:
endTransaction
in interface LockManager
- Overrides:
endTransaction
in class AbstractLockManager
Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.