public interface KeyAwareLockListener
KeyAwareLockPromise.
This event contains the key that the lock owner is try to acquire.
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(Object key,
LockState state)
Invoked when the lock is available.
|
void onEvent(Object key, LockState state)
key - the key associated to this lock.state - the lock state. Possible values are LockState.ACQUIRED, LockState.TIMED_OUT or
LockState.DEADLOCKED.Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.