Package net.TheDgtl.iChat.Metrics

Examples of net.TheDgtl.iChat.Metrics.Metrics


   
    log.info(getDescription().getName() + " (v" + getDescription().getVersion() + ") enabled");
   
    // Enable MCStats Metrics
    try {
      Metrics metrics = new Metrics(this);
     
      // Setup a graph for keeping track of Permission handler user
      Metrics.Graph phGraph = metrics.createGraph("Permission Handler");
      phGraph.addPlotter(new Metrics.Plotter(permHandler) {
        @Override
        public int getValue() {
          return 1;
        }
      });
      metrics.start();
    } catch (IOException ex) {
      // Something went wrong. Owell.
    }
  }
View Full Code Here

TOP

Related Classes of net.TheDgtl.iChat.Metrics.Metrics

Copyright © 2018 www.massapicom. 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.