public class CalmChaosMonkey extends ChaosMonkey
| Constructor and Description |
|---|
CalmChaosMonkey() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDestructive()
Returns whether the CM does destructive actions (killing servers) so that a cluster restore
is needed after CM is stopped.
|
boolean |
isStopped() |
void |
start() |
void |
stop(java.lang.String why) |
void |
waitForStop() |
public void start()
throws java.lang.Exception
start in class ChaosMonkeyjava.lang.Exceptionpublic void stop(java.lang.String why)
stop in class ChaosMonkeypublic boolean isStopped()
isStopped in class ChaosMonkeypublic void waitForStop()
throws java.lang.InterruptedException
waitForStop in class ChaosMonkeyjava.lang.InterruptedExceptionpublic boolean isDestructive()
ChaosMonkeyisDestructive in class ChaosMonkey