public class StateTransferLockImpl extends Object implements StateTransferLock
StateTransferLock implementation.| Constructor and Description |
|---|
StateTransferLockImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireExclusiveTopologyLock() |
void |
acquireSharedTopologyLock() |
void |
notifyTopologyInstalled(int topologyId) |
void |
notifyTransactionDataReceived(int topologyId) |
void |
releaseExclusiveTopologyLock() |
void |
releaseSharedTopologyLock() |
void |
stop() |
CompletableFuture<Void> |
topologyFuture(int expectedTopologyId) |
boolean |
topologyReceived(int expectedTopologyId) |
CompletableFuture<Void> |
transactionDataFuture(int expectedTopologyId) |
boolean |
transactionDataReceived(int expectedTopologyId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwaitForTopologypublic void stop()
public void acquireExclusiveTopologyLock()
acquireExclusiveTopologyLock in interface StateTransferLockpublic void releaseExclusiveTopologyLock()
releaseExclusiveTopologyLock in interface StateTransferLockpublic void acquireSharedTopologyLock()
acquireSharedTopologyLock in interface StateTransferLockpublic void releaseSharedTopologyLock()
releaseSharedTopologyLock in interface StateTransferLockpublic void notifyTransactionDataReceived(int topologyId)
notifyTransactionDataReceived in interface StateTransferLockpublic CompletableFuture<Void> transactionDataFuture(int expectedTopologyId)
transactionDataFuture in interface StateTransferLockpublic boolean transactionDataReceived(int expectedTopologyId)
transactionDataReceived in interface StateTransferLockpublic void notifyTopologyInstalled(int topologyId)
notifyTopologyInstalled in interface StateTransferLockpublic CompletableFuture<Void> topologyFuture(int expectedTopologyId)
topologyFuture in interface StateTransferLockpublic boolean topologyReceived(int expectedTopologyId)
topologyReceived in interface StateTransferLockCopyright © 2022 JBoss by Red Hat. All rights reserved.