public interface LockListener
LockPromise
.Modifier and Type | Method and Description |
---|---|
void |
onEvent(LockState state)
Invoked when the lock is available.
|
void onEvent(LockState state)
state
- the lock state. Possible values are LockState.ACQUIRED
, LockState.TIMED_OUT
or
LockState.DEADLOCKED
.Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.