org.terracotta.modules.ehcache.coherence
Class IncoherentNodesSet
java.lang.Object
org.terracotta.modules.ehcache.coherence.IncoherentNodesSet
- All Implemented Interfaces:
- com.tc.cluster.DsoClusterListener, CacheCoherence
public class IncoherentNodesSet
- extends Object
- implements CacheCoherence, com.tc.cluster.DsoClusterListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncoherentNodesSet
public IncoherentNodesSet(String name,
ClusteredStore clusteredStore)
init
public void init()
acquireReadLock
public void acquireReadLock()
- Specified by:
acquireReadLock in interface CacheCoherence
acquireWriteLock
public void acquireWriteLock()
- Specified by:
acquireWriteLock in interface CacheCoherence
releaseReadLock
public void releaseReadLock()
- Specified by:
releaseReadLock in interface CacheCoherence
releaseWriteLock
public void releaseWriteLock()
- Specified by:
releaseWriteLock in interface CacheCoherence
waitUntilClusterCoherent
public void waitUntilClusterCoherent()
- Specified by:
waitUntilClusterCoherent in interface CacheCoherence
isClusterCoherent
public boolean isClusterCoherent()
- Specified by:
isClusterCoherent in interface CacheCoherence
isFirstIncoherent
public boolean isFirstIncoherent()
isNodeCoherent
public boolean isNodeCoherent()
- Specified by:
isNodeCoherent in interface CacheCoherence
setNodeCoherent
public void setNodeCoherent(boolean coherent)
- Specified by:
setNodeCoherent in interface CacheCoherence
nodeLeft
public void nodeLeft(com.tc.cluster.DsoClusterEvent evt)
- Specified by:
nodeLeft in interface com.tc.cluster.DsoClusterListener
nodeJoined
public void nodeJoined(com.tc.cluster.DsoClusterEvent evt)
- Specified by:
nodeJoined in interface com.tc.cluster.DsoClusterListener
operationsDisabled
public void operationsDisabled(com.tc.cluster.DsoClusterEvent evt)
- Specified by:
operationsDisabled in interface com.tc.cluster.DsoClusterListener
operationsEnabled
public void operationsEnabled(com.tc.cluster.DsoClusterEvent evt)
- Specified by:
operationsEnabled in interface com.tc.cluster.DsoClusterListener
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.