Package | Description |
---|---|
org.infinispan.statetransfer |
Transfer of state to new caches in a cluster.
|
org.infinispan.util.concurrent.locks |
Lock and synchronization related classes, tools and utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
StateTransferInProgressException
This exception is thrown when an operation cannot complete because a state transfer is in progress.
|
class |
StateTransferLockReacquisitionException
Internal exception, thrown when
StateTransferLock.waitForStateTransferToEnd fails to re-acquire
the state transfer lock after state transfer (most likely because the timeout expired). |
Modifier and Type | Method and Description |
---|---|
boolean |
LockManagerImpl.acquireLock(InvocationContext ctx,
Object key) |
boolean |
LockManager.acquireLock(InvocationContext ctx,
Object key)
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 |
LockManager.acquireLock(InvocationContext ctx,
Object key,
long timeoutMillis) |
boolean |
LockManagerImpl.acquireLockNoCheck(InvocationContext ctx,
Object key) |
boolean |
LockManager.acquireLockNoCheck(InvocationContext ctx,
Object key)
Same as
LockManager.acquireLock(org.infinispan.context.InvocationContext, Object) , but doesn't check whether the
lock is already acquired by the caller. |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.