Class NetworkDisruption.DisruptedLinks

java.lang.Object
org.elasticsearch.test.disruption.NetworkDisruption.DisruptedLinks
Direct Known Subclasses:
NetworkDisruption.Bridge, NetworkDisruption.IsolateAllNodes, NetworkDisruption.TwoPartitions
Enclosing class:
NetworkDisruption

public abstract static class NetworkDisruption.DisruptedLinks extends Object
Represents a set of nodes with connections between nodes that are to be disrupted
  • Constructor Details

  • Method Details

    • nodes

      public Set<String> nodes()
      Set of all nodes that can participate in disruptions
    • disrupt

      public abstract boolean disrupt(String node1, String node2)
      Returns true iff network should be disrupted between the two nodes