Interface CommunicationFailureContext


  • public interface CommunicationFailureContext
    Communication Failure Context.
    • Method Detail

      • topologySnapshot

        List<ClusterNode> topologySnapshot()
        Returns:
        Current topology snapshot.
      • connectionAvailable

        boolean connectionAvailable​(ClusterNode node1,
                                    ClusterNode node2)
        Parameters:
        node1 - First node.
        node2 - Second node.
        Returns:
        True if CommunicationSpi is able to establish connection from first node to second node.
      • cacheAffinity

        List<List<ClusterNode>> cacheAffinity​(String cacheName)
        Parameters:
        cacheName - Cache name.
        Returns:
        Cache partitions affinity assignment.
      • cachePartitionOwners

        List<List<ClusterNode>> cachePartitionOwners​(String cacheName)
        Parameters:
        cacheName - Cache name.
        Returns:
        Cache partitions owners.
      • killNode

        void killNode​(ClusterNode node)
        Parameters:
        node - Node to kill.