Class SlowClusterStateProcessing
java.lang.Object
org.elasticsearch.test.disruption.SingleNodeDisruption
org.elasticsearch.test.disruption.SlowClusterStateProcessing
- All Implemented Interfaces:
ServiceDisruptionScheme
-
Field Summary
Fields inherited from class org.elasticsearch.test.disruption.SingleNodeDisruption
cluster, disruptedNode, logger, random
-
Constructor Summary
ConstructorDescriptionSlowClusterStateProcessing
(String disruptedNode, Random random) SlowClusterStateProcessing
(String disruptedNode, Random random, long intervalBetweenDelaysMin, long intervalBetweenDelaysMax, long delayDurationMin, long delayDurationMax) SlowClusterStateProcessing
(Random random) SlowClusterStateProcessing
(Random random, long intervalBetweenDelaysMin, long intervalBetweenDelaysMax, long delayDurationMin, long delayDurationMax) -
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.core.TimeValue
void
void
void
Methods inherited from class org.elasticsearch.test.disruption.SingleNodeDisruption
applyToCluster, applyToNode, ensureNodeCount, removeFromCluster, removeFromNode, testClusterClosed
-
Constructor Details
-
SlowClusterStateProcessing
-
SlowClusterStateProcessing
-
SlowClusterStateProcessing
-
SlowClusterStateProcessing
public SlowClusterStateProcessing(Random random, long intervalBetweenDelaysMin, long intervalBetweenDelaysMax, long delayDurationMin, long delayDurationMax)
-
-
Method Details
-
startDisrupting
public void startDisrupting() -
stopDisrupting
public void stopDisrupting() -
removeAndEnsureHealthy
-
expectedTimeToHeal
public org.elasticsearch.core.TimeValue expectedTimeToHeal()
-