Interface LockListener
public interface LockListener
The listener for
LockPromise
.- Since:
- 8.0
- Author:
- Pedro Ruivo
-
Method Summary
-
Method Details
-
onEvent
Invoked when the lock is available.- Parameters:
state
- the lock state. Possible values areLockState.ACQUIRED
,LockState.TIMED_OUT
orLockState.DEADLOCKED
.
-