Package org.apache.ignite.configuration
Interface CommunicationFailureContext
- 
 public interface CommunicationFailureContextCommunication Failure Context.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description List<List<ClusterNode>>cacheAffinity(String cacheName)List<List<ClusterNode>>cachePartitionOwners(String cacheName)booleanconnectionAvailable(ClusterNode node1, ClusterNode node2)voidkillNode(ClusterNode node)Map<String,CacheConfiguration<?,?>>startedCaches()List<ClusterNode>topologySnapshot()
 
- 
- 
- 
Method Detail- 
topologySnapshotList<ClusterNode> topologySnapshot() - Returns:
- Current topology snapshot.
 
 - 
connectionAvailableboolean connectionAvailable(ClusterNode node1, ClusterNode node2) - Parameters:
- node1- First node.
- node2- Second node.
- Returns:
- Trueif- CommunicationSpiis able to establish connection from first node to second node.
 
 - 
startedCachesMap<String,CacheConfiguration<?,?>> startedCaches() - Returns:
- Currently started caches.
 
 - 
cacheAffinityList<List<ClusterNode>> cacheAffinity(String cacheName) - Parameters:
- cacheName- Cache name.
- Returns:
- Cache partitions affinity assignment.
 
 - 
cachePartitionOwnersList<List<ClusterNode>> cachePartitionOwners(String cacheName) - Parameters:
- cacheName- Cache name.
- Returns:
- Cache partitions owners.
 
 - 
killNodevoid killNode(ClusterNode node) - Parameters:
- node- Node to kill.
 
 
- 
 
-