Package | Description |
---|---|
org.infinispan.util.concurrent.locks |
Lock and synchronization related classes, tools and utilities.
|
org.infinispan.util.concurrent.locks.impl |
Modifier and Type | Field and Description |
---|---|
static KeyAwareLockPromise |
KeyAwareLockPromise.NO_OP |
Modifier and Type | Method and Description |
---|---|
KeyAwareLockPromise |
LockManager.lock(Object key,
Object lockOwner,
long time,
TimeUnit unit)
Attempts to lock the
key if the lock isn't already held by the lockOwner . |
KeyAwareLockPromise |
LockManager.lockAll(Collection<?> keys,
Object lockOwner,
long time,
TimeUnit unit)
Same as
LockManager.lock(Object, Object, long, TimeUnit) but for multiple keys. |
Modifier and Type | Method and Description |
---|---|
KeyAwareLockPromise |
DefaultLockManager.lock(Object key,
Object lockOwner,
long time,
TimeUnit unit) |
KeyAwareLockPromise |
DefaultLockManager.lockAll(Collection<?> keys,
Object lockOwner,
long time,
TimeUnit unit) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.