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(String why) |
void |
waitForStop() |
public CalmChaosMonkey()
public void start() throws Exception
start
in class ChaosMonkey
Exception
public void stop(String why)
stop
in interface org.apache.hadoop.hbase.Stoppable
stop
in class ChaosMonkey
public boolean isStopped()
isStopped
in interface org.apache.hadoop.hbase.Stoppable
isStopped
in class ChaosMonkey
public void waitForStop() throws InterruptedException
waitForStop
in class ChaosMonkey
InterruptedException
public boolean isDestructive()
ChaosMonkey
isDestructive
in class ChaosMonkey
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.