Class BlockClusterStateProcessing
- java.lang.Object
-
- org.elasticsearch.test.disruption.SingleNodeDisruption
-
- org.elasticsearch.test.disruption.BlockClusterStateProcessing
-
- All Implemented Interfaces:
ServiceDisruptionScheme
public class BlockClusterStateProcessing extends SingleNodeDisruption
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.test.disruption.SingleNodeDisruption
cluster, disruptedNode, logger, random
-
-
Constructor Summary
Constructors Constructor Description BlockClusterStateProcessing(java.lang.String disruptedNode, java.util.Random random)
BlockClusterStateProcessing(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()
-
-