Examples of ChaosMonkey


Examples of org.apache.hadoop.hbase.util.ChaosMonkey

  public void setUp() throws Exception {
    super.setUp(NUM_SLAVES_BASE);

    ChaosMonkey.Policy chaosPolicy = new ChaosMonkey.PeriodicRandomActionPolicy(
      CHAOS_EVERY_MS, new UnbalanceKillAndRebalanceAction());
    monkey = new ChaosMonkey(util, chaosPolicy);
    monkey.start();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.