Package org.apache.blur.thrift.generated.Blur

Examples of org.apache.blur.thrift.generated.Blur.Iface.metrics()


  public static void main(String[] args) throws BlurException, TException, IOException {
    String connectionStr = args[0];

    Iface client = BlurClient.getClient(connectionStr);
    Map<String, Metric> metrics = new TreeMap<String, Metric>(client.metrics(null));
    for (Metric m : metrics.values()) {
      System.out.println(m.getName());
      System.out.println("\t" + m.getDoubleMap());
      System.out.println("\t" + m.getLongMap());
      System.out.println("\t" + m.getStrMap());
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.