Package com.codahale.metrics.CsvReporter

Examples of com.codahale.metrics.CsvReporter.Builder


          reporters = Maps.newHashMap();
          REGISTRIES.put(registry, reporters);
        }
        CsvReporter reporter = reporters.get(outputDir);
        if (reporter == null) {
          Builder reporterBuilder = CsvReporter.forRegistry(registry)
              .filter(filter)
              .convertDurationsTo(defaultDurationUnit)
              .convertRatesTo(defaultRateUnit)
              .formatFor(locale);
             
          reporter = reporterBuilder.build(outputDir);
          outputDir.mkdirs();
          if (!outputDir.isDirectory()) {
            throw new MorphlineCompilationException("Directory not found: " + outputDir, config);
          }
          if (!outputDir.canWrite()) {
View Full Code Here


          reporters = new HashMap();
          REGISTRIES.put(registry, reporters);
        }
        CsvReporter reporter = reporters.get(outputDir);
        if (reporter == null) {
          Builder reporterBuilder = CsvReporter.forRegistry(registry)
              .filter(filter)
              .convertDurationsTo(defaultDurationUnit)
              .convertRatesTo(defaultRateUnit)
              .formatFor(locale);
             
          reporter = reporterBuilder.build(outputDir);
          outputDir.mkdirs();
          if (!outputDir.isDirectory()) {
            throw new MorphlineCompilationException("Directory not found: " + outputDir, config);
          }
          if (!outputDir.canWrite()) {
View Full Code Here

TOP

Related Classes of com.codahale.metrics.CsvReporter.Builder

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.