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() |
boolean |
transactionDataReceived(int expectedTopologyId) |
void |
waitForTopology(int expectedTopologyId,
long timeout,
TimeUnit unit) |
void |
waitForTransactionData(int expectedTopologyId,
long timeout,
TimeUnit unit) |
void acquireExclusiveTopologyLock()
void releaseExclusiveTopologyLock()
void acquireSharedTopologyLock()
void releaseSharedTopologyLock()
void notifyTransactionDataReceived(int topologyId)
void waitForTransactionData(int expectedTopologyId, long timeout, TimeUnit unit) throws InterruptedException
InterruptedException
boolean transactionDataReceived(int expectedTopologyId)
void notifyTopologyInstalled(int topologyId)
void waitForTopology(int expectedTopologyId, long timeout, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.