Package com.comphenix.protocol.metrics.Metrics

Examples of com.comphenix.protocol.metrics.Metrics.Graph


    metrics.start();
  }
 
  private void addPluginUserGraph(Metrics metrics) {
 
    Graph pluginUsers = metrics.createGraph("Plugin Users");
   
    for (Map.Entry<String, Integer> entry : getPluginUsers(ProtocolLibrary.getProtocolManager()).entrySet()) {
      final int count = entry.getValue();
     
      // Plot plugins of this type
      pluginUsers.addPlotter(new Metrics.Plotter(entry.getKey()) {
        @Override
        public int getValue() {
          return count;
        }
      });
View Full Code Here

TOP

Related Classes of com.comphenix.protocol.metrics.Metrics.Graph

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.