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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether the CM does destructive actions (killing servers) so that a cluster restore is needed after CM is stopped.boolean
void
start()
void
void
-
Constructor Details
-
CalmChaosMonkey
public CalmChaosMonkey()
-
-
Method Details
-
start
- Specified by:
start
in classChaosMonkey
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.apache.hadoop.hbase.Stoppable
- Specified by:
stop
in classChaosMonkey
-
isStopped
- Specified by:
isStopped
in interfaceorg.apache.hadoop.hbase.Stoppable
- Specified by:
isStopped
in classChaosMonkey
-
waitForStop
- Specified by:
waitForStop
in classChaosMonkey
- Throws:
InterruptedException
-
isDestructive
Description copied from class:ChaosMonkey
Returns 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:
isDestructive
in classChaosMonkey
-