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 |
waitForTopology(int expectedTopologyId) |
void |
waitForTransactionData(int expectedTopologyId) |
public void acquireExclusiveTopologyLock()
acquireExclusiveTopologyLock
in interface StateTransferLock
public void releaseExclusiveTopologyLock()
releaseExclusiveTopologyLock
in interface StateTransferLock
public void acquireSharedTopologyLock()
acquireSharedTopologyLock
in interface StateTransferLock
public void releaseSharedTopologyLock()
releaseSharedTopologyLock
in interface StateTransferLock
public void notifyTransactionDataReceived(int topologyId)
notifyTransactionDataReceived
in interface StateTransferLock
public void waitForTransactionData(int expectedTopologyId) throws InterruptedException
waitForTransactionData
in interface StateTransferLock
InterruptedException
public void notifyTopologyInstalled(int topologyId)
notifyTopologyInstalled
in interface StateTransferLock
public void waitForTopology(int expectedTopologyId) throws InterruptedException
waitForTopology
in interface StateTransferLock
InterruptedException
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.