ServiceDisruptionSchemepublic class NoOpDisruptionScheme extends java.lang.Object implements ServiceDisruptionScheme
| Constructor | Description |
|---|---|
NoOpDisruptionScheme() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
applyToCluster(InternalTestCluster cluster) |
|
void |
applyToNode(java.lang.String node,
InternalTestCluster cluster) |
|
TimeValue |
expectedTimeToHeal() |
|
void |
removeAndEnsureHealthy(InternalTestCluster cluster) |
|
void |
removeFromCluster(InternalTestCluster cluster) |
|
void |
removeFromNode(java.lang.String node,
InternalTestCluster cluster) |
|
void |
startDisrupting() |
|
void |
stopDisrupting() |
|
void |
testClusterClosed() |
public void applyToCluster(InternalTestCluster cluster)
applyToCluster in interface ServiceDisruptionSchemepublic void removeFromCluster(InternalTestCluster cluster)
removeFromCluster in interface ServiceDisruptionSchemepublic void applyToNode(java.lang.String node,
InternalTestCluster cluster)
applyToNode in interface ServiceDisruptionSchemepublic void removeFromNode(java.lang.String node,
InternalTestCluster cluster)
removeFromNode in interface ServiceDisruptionSchemepublic void startDisrupting()
startDisrupting in interface ServiceDisruptionSchemepublic void stopDisrupting()
stopDisrupting in interface ServiceDisruptionSchemepublic void testClusterClosed()
testClusterClosed in interface ServiceDisruptionSchemepublic void removeAndEnsureHealthy(InternalTestCluster cluster)
removeAndEnsureHealthy in interface ServiceDisruptionSchemepublic TimeValue expectedTimeToHeal()
expectedTimeToHeal in interface ServiceDisruptionScheme