Class CalmChaosMonkey
java.lang.Object
org.apache.hadoop.hbase.chaos.monkies.ChaosMonkey
org.apache.hadoop.hbase.chaos.monkies.CalmChaosMonkey
- All Implemented Interfaces:
org.apache.hadoop.hbase.Stoppable
Chaos Monkey that does nothing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the CM does destructive actions (killing servers) so that a cluster restore is needed after CM is stopped.booleanvoidstart()voidvoid
-
Constructor Details
-
CalmChaosMonkey
public CalmChaosMonkey()
-
-
Method Details
-
start
- Specified by:
startin classChaosMonkey- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.apache.hadoop.hbase.Stoppable- Specified by:
stopin classChaosMonkey
-
isStopped
- Specified by:
isStoppedin interfaceorg.apache.hadoop.hbase.Stoppable- Specified by:
isStoppedin classChaosMonkey
-
waitForStop
- Specified by:
waitForStopin classChaosMonkey- Throws:
InterruptedException
-
isDestructive
Description copied from class:ChaosMonkeyReturns whether the CM does destructive actions (killing servers) so that a cluster restore is needed after CM is stopped. Otherwise cluster will be left as it is- Specified by:
isDestructivein classChaosMonkey
-