public interface ExtendedLockPromise extends LockPromise
LockPromise interface that allows a better control over it.| Modifier and Type | Method and Description |
|---|---|
void |
cancel(LockState cause)
It cancels the
LockPromise if possible. |
Object |
getOwner() |
Object |
getRequestor() |
addListener, isAvailable, lockvoid cancel(LockState cause)
LockPromise if possible.cause - the cancellation cause. The possible values are LockState.DEADLOCKED and LockState.TIMED_OUT.IllegalArgumentException - if the argument cause is not valid.Object getRequestor()
LockPromise.Object getOwner()
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.