Class NetworkDisruption.IsolateAllNodes
- java.lang.Object
-
- org.elasticsearch.test.disruption.NetworkDisruption.DisruptedLinks
-
- org.elasticsearch.test.disruption.NetworkDisruption.IsolateAllNodes
-
- Enclosing class:
- NetworkDisruption
public static class NetworkDisruption.IsolateAllNodes extends NetworkDisruption.DisruptedLinks
-
-
Constructor Summary
Constructors Constructor Description IsolateAllNodes(java.util.Set<java.lang.String> nodes)
-
Method Summary
Modifier and Type Method Description boolean
disrupt(java.lang.String node1, java.lang.String node2)
Returns true iff network should be disrupted between the two nodes-
Methods inherited from class org.elasticsearch.test.disruption.NetworkDisruption.DisruptedLinks
nodes
-
-
-
-
Method Detail
-
disrupt
public boolean disrupt(java.lang.String node1, java.lang.String node2)
Description copied from class:NetworkDisruption.DisruptedLinks
Returns true iff network should be disrupted between the two nodes- Specified by:
disrupt
in classNetworkDisruption.DisruptedLinks
-
-