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 nodesMethods inherited from class org.elasticsearch.test.disruption.NetworkDisruption.DisruptedLinks
nodes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IsolateAllNodes
public IsolateAllNodes(java.util.Set<java.lang.String> nodes)
-
-
Method Details
-
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
-