Examples of clusterConfig()


Examples of org.apache.helix.PropertyKey.Builder.clusterConfig()

      Assert.assertTrue(listener._instanceConfigChanged, "Should get instanceConfig callback invoked since we change instanceConfig");

      value = accessor.getProperty(keyBuilder.clusterConfig());
      value._record.setSimpleField("" + System.currentTimeMillis(), "newValue");
      listener._configChanged = false;
      accessor.setProperty(keyBuilder.clusterConfig(), value);
      Thread.sleep(1000)// wait zk callback
      Assert.assertTrue(listener._configChanged, "Should get clusterConfig callback invoked since we change clusterConfig");

      String resourceName = "TestDB_0";
      value = new HelixProperty(resourceName);
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.