Package org.apache.helix.PropertyKey

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


     
      setHealthData(metricsx, metricsy);
      task.run();
      for (int j = 0; j < 10; j++) {
          Thread.sleep(100);
          history = helixDataAccessor.getProperty(keyBuilder.alertHistory()).getRecord();
          recordMap = new TreeMap<String, Map<String, String>>();
          recordMap.putAll( history.getMapFields());
          lastRecord = recordMap.lastEntry().getValue();
         
          if (history.getMapFields().size() == 30 && lastRecord.size() == 10)
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.