Class BlockMasterServiceOnMaster
- java.lang.Object
-
- org.elasticsearch.test.disruption.SingleNodeDisruption
-
- org.elasticsearch.test.disruption.BlockMasterServiceOnMaster
-
- All Implemented Interfaces:
ServiceDisruptionScheme
public class BlockMasterServiceOnMaster extends SingleNodeDisruption
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.test.disruption.SingleNodeDisruption
cluster, disruptedNode, logger, random
-
-
Constructor Summary
Constructors Constructor Description BlockMasterServiceOnMaster(java.util.Random random)
-
Method Summary
Modifier and Type Method Description TimeValue
expectedTimeToHeal()
void
removeAndEnsureHealthy(InternalTestCluster cluster)
void
startDisrupting()
void
stopDisrupting()
-
Methods inherited from class org.elasticsearch.test.disruption.SingleNodeDisruption
applyToCluster, applyToNode, ensureNodeCount, removeFromCluster, removeFromNode, testClusterClosed
-
-
-
-
Method Detail
-
startDisrupting
public void startDisrupting()
-
stopDisrupting
public void stopDisrupting()
-
removeAndEnsureHealthy
public void removeAndEnsureHealthy(InternalTestCluster cluster)
-
expectedTimeToHeal
public TimeValue expectedTimeToHeal()
-
-