Package com.yammer.metrics.core

Examples of com.yammer.metrics.core.MetricPredicate


   * @param out PrintStream to write to.
   */
  public void printSummary(PrintStream out) {
    new WorkerSuperstepMetrics().readFromRegistry().print(superstep, out);
    out.println("");
    MetricPredicate superstepFilter = new MetricPredicate() {
      @Override
      public boolean matches(MetricName name, Metric metric) {
        return name.getType().equals(getType());
      }
    };
View Full Code Here


                    graphiteConfiguration.getFrequency().toNanoseconds(),
                    TimeUnit.NANOSECONDS,
                    graphiteConfiguration.getHost(),
                    graphiteConfiguration.getPort(),
                    graphiteConfiguration.getPrefix(),
                    new MetricPredicate() {
                        @Override
                        public boolean matches(final MetricName name, final Metric metric) {
                            return !graphiteConfiguration.getExcludes().contains(pathFor(name));
                        }
View Full Code Here

TOP

Related Classes of com.yammer.metrics.core.MetricPredicate

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.