Overview | Package | Class | Tree | Deprecated | Index | Help
| Kodo 4.1.0 generated on October 9 2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## kodo.kernel
Class SingleJVMExclusiveLockManager

    java.lang.Object
      org.apache.openjpa.kernel.AbstractLockManager
          org.apache.openjpa.kernel.VersionLockManager
              kodo.kernel.SingleJVMExclusiveLockManager

All Implemented Interfaces:
  org.apache.openjpa.kernel.LockLevels, org.apache.openjpa.kernel.LockManager, org.apache.openjpa.lib.util.Closeable

    public class SingleJVMExclusiveLockManager

extends org.apache.openjpa.kernel.VersionLockManager

An exclusive write single-JVM lock manager.

Field Summary

Fields inherited from class org.apache.openjpa.kernel.AbstractLockManager
`ctx, log`

Fields inherited from interface org.apache.openjpa.kernel.LockLevels
`LOCK_NONE, LOCK_READ, LOCK_WRITE`

Constructor Summary
`SingleJVMExclusiveLockManager()`

Method Summary
`void` | `endTransaction()` Release all the locks held by this context.
`protected void` | `lockInternal(org.apache.openjpa.kernel.OpenJPAStateManager sm, int level, int timeout, Object sdata)`
`protected org.apache.openjpa.lib.util.concurrent.Lock` | `newLock()` Create a new lock.

Methods inherited from class org.apache.openjpa.kernel.VersionLockManager
`getLockLevel, getVersionCheckOnReadLock, getVersionUpdateOnWriteLock, lock, lockInternal, release, setLockLevel, setVersionCheckOnReadLock, setVersionUpdateOnWriteLock`

Methods inherited from class org.apache.openjpa.kernel.AbstractLockManager
`beginTransaction, close, getContext, lockAll, setContext`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SingleJVMExclusiveLockManager

    public SingleJVMExclusiveLockManager()

Method Detail

### lockInternal

    protected void lockInternal(org.apache.openjpa.kernel.OpenJPAStateManager sm,
                                int level,
                                int timeout,
                                Object sdata)

### newLock

    protected org.apache.openjpa.lib.util.concurrent.Lock newLock()

  Create a new lock.

### endTransaction

    public void endTransaction()

  Release all the locks held by this context.

  Specified by:
    `endTransaction` in interface `org.apache.openjpa.kernel.LockManager`
  Overrides:
    `endTransaction` in class `org.apache.openjpa.kernel.AbstractLockManager`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Kodo 4.1.0 generated on October 9 2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.