public interface StateTransferLock
Modifier and Type | Method and Description |
---|---|
void |
acquireExclusiveTopologyLock() |
void |
acquireSharedTopologyLock() |
void |
notifyTopologyInstalled(int topologyId) |
void |
notifyTransactionDataReceived(int topologyId) |
void |
releaseExclusiveTopologyLock() |
void |
releaseSharedTopologyLock() |
CompletableFuture<Void> |
topologyFuture(int expectedTopologyId) |
boolean |
topologyReceived(int expectedTopologyId) |
CompletableFuture<Void> |
transactionDataFuture(int expectedTopologyId) |
boolean |
transactionDataReceived(int expectedTopologyId) |
default void |
waitForTopology(int expectedTopologyId,
long timeout,
TimeUnit unit)
Deprecated.
|
void acquireExclusiveTopologyLock()
void releaseExclusiveTopologyLock()
void acquireSharedTopologyLock()
void releaseSharedTopologyLock()
void notifyTransactionDataReceived(int topologyId)
CompletableFuture<Void> transactionDataFuture(int expectedTopologyId)
boolean transactionDataReceived(int expectedTopologyId)
void notifyTopologyInstalled(int topologyId)
CompletableFuture<Void> topologyFuture(int expectedTopologyId)
@Deprecated default void waitForTopology(int expectedTopologyId, long timeout, TimeUnit unit) throws InterruptedException, TimeoutException
InterruptedException
TimeoutException
boolean topologyReceived(int expectedTopologyId)
Copyright © 2021 JBoss by Red Hat. All rights reserved.