Package | Description |
---|---|
org.infinispan.util.concurrent.locks |
Lock and synchronization related classes, tools and utilities.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LockManager.acquireLock(InvocationContext ctx,
Object key,
long timeoutMillis,
boolean skipLocking)
Attempts to lock an entry if the lock isn't already held in the current scope, and records the lock in the
context.
|
boolean |
LockManagerImpl.acquireLock(InvocationContext ctx,
Object key,
long timeoutMillis,
boolean skipLocking) |
boolean |
LockManager.acquireLockNoCheck(InvocationContext ctx,
Object key,
long timeoutMillis,
boolean skipLocking)
Same as
LockManager.acquireLock(org.infinispan.context.InvocationContext, Object, long, boolean) , but doesn't check whether the
lock is already acquired by the caller. |
boolean |
LockManagerImpl.acquireLockNoCheck(InvocationContext ctx,
Object key,
long timeoutMillis,
boolean skipLocking) |
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.