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 java.lang.Object
Represents a set of nodes with connections between nodes that are to be disrupted
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DisruptedLinks(java.util.Set<java.lang.String>... nodeSets)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
disrupt(java.lang.String node1, java.lang.String node2)
Returns true iff network should be disrupted between the two nodesjava.util.Set<java.lang.String>
nodes()
Set of all nodes that can participate in disruptions
-