Interface KeyAwareLockPromise
- All Superinterfaces:
LockPromise
An extension of
LockPromise that contains a key associated to the lock.- Since:
- 8.0
- Author:
- Pedro Ruivo
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(KeyAwareLockListener listener) It adds the listener to thisLockPromise.Methods inherited from interface org.infinispan.util.concurrent.locks.LockPromise
addListener, isAvailable, lock, toInvocationStage
-
Field Details
-
NO_OP
-
-
Method Details
-
addListener
It adds the listener to thisLockPromise.The listener is invoked when the
LockPromise.isAvailable()returns true. For more info, checkKeyAwareLockListener.- Parameters:
listener- the listener to add.
-