org.infinispan.statetransfer
Class StateTransferLockImpl
java.lang.Object
org.infinispan.statetransfer.StateTransferLockImpl
- All Implemented Interfaces:
- StateTransferLock
public class StateTransferLockImpl
- extends Object
- implements StateTransferLock
StateTransferLock
implementation.
- Since:
- 5.2
- Author:
- anistor@redhat.com, Dan Berindei
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateTransferLockImpl
public StateTransferLockImpl()
acquireExclusiveTopologyLock
public void acquireExclusiveTopologyLock()
- Specified by:
acquireExclusiveTopologyLock
in interface StateTransferLock
releaseExclusiveTopologyLock
public void releaseExclusiveTopologyLock()
- Specified by:
releaseExclusiveTopologyLock
in interface StateTransferLock
acquireSharedTopologyLock
public void acquireSharedTopologyLock()
- Specified by:
acquireSharedTopologyLock
in interface StateTransferLock
releaseSharedTopologyLock
public void releaseSharedTopologyLock()
- Specified by:
releaseSharedTopologyLock
in interface StateTransferLock
notifyTransactionDataReceived
public void notifyTransactionDataReceived(int topologyId)
- Specified by:
notifyTransactionDataReceived
in interface StateTransferLock
waitForTransactionData
public void waitForTransactionData(int expectedTopologyId)
throws InterruptedException
- Specified by:
waitForTransactionData
in interface StateTransferLock
- Throws:
InterruptedException
notifyTopologyInstalled
public void notifyTopologyInstalled(int topologyId)
- Specified by:
notifyTopologyInstalled
in interface StateTransferLock
waitForTopology
public void waitForTopology(int expectedTopologyId)
throws InterruptedException
- Specified by:
waitForTopology
in interface StateTransferLock
- Throws:
InterruptedException
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.