public class PendingTxAction extends BaseLockingAction implements PendingLockListener
Action implementation that check for older topology transactions.
This action is ready when no older topology transactions exists or is canceled when the timeout occurs.BaseLockingAction.InternalState| Constructor and Description |
|---|
PendingTxAction(PendingLockManager pendingLockManager,
ClusteringDependentLogic clusteringDependentLogic) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ActionListener listener)
Adds a listener to be invoked when this action is ready or canceled.
|
protected ActionStatus |
checking(ActionState state) |
protected ActionStatus |
init(ActionState state) |
void |
onReady()
Invoked when
PendingLockPromise is ready. |
cas, check, cleanup, getAndUpdateFilteredKeyspublic PendingTxAction(PendingLockManager pendingLockManager, ClusteringDependentLogic clusteringDependentLogic)
protected ActionStatus checking(ActionState state)
checking in class BaseLockingActionprotected ActionStatus init(ActionState state)
init in class BaseLockingActionpublic void addListener(ActionListener listener)
ActionaddListener in interface Actionlistener - the ActionListener to add.public void onReady()
PendingLockListenerPendingLockPromise is ready.onReady in interface PendingLockListenerCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.