public abstract class AbstractLockManager extends Object implements LockManager
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
configuration |
protected long |
lockAcquisitionTimeout |
| Constructor and Description |
|---|
AbstractLockManager() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getLockOwner(InvocationContext ctx)
Determines the owner to be used when obtaining locks, given an invocation context.
|
void |
injectConfiguration(Configuration configuration) |
void |
setLockAcquisitionTimeout() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReadOwners, getReadOwners, getWriteOwner, getWriteOwner, isLocked, isLocked, isLocked, lock, lock, lock, lock, lockAll, lockAll, lockAll, lockAllAndRecord, lockAllAndRecord, lockAndRecord, lockAndRecord, ownsLock, ownsLock, ownsLock, printLockInfo, printLockInfo, unlock, unlock, unlock, unlockAll, unlockAllprotected Configuration configuration
protected long lockAcquisitionTimeout
public void injectConfiguration(Configuration configuration)
public void setLockAcquisitionTimeout()
public Object getLockOwner(InvocationContext ctx)
LockManagerGlobalTransaction if one
is present in the context, or Thread.currentThread() if one is not present.getLockOwner in interface LockManagerctx - invocation contextCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.