Class CSVAggregateReporter.Builder

java.lang.Object
com.orientechnologies.agent.profiler.source.CSVAggregateReporter.Builder
Enclosing class:
CSVAggregateReporter

public static class CSVAggregateReporter.Builder extends Object
  • Constructor Details

    • Builder

      public Builder(OEnterpriseServer server, com.codahale.metrics.MetricRegistry registry)
  • Method Details

    • withCallback

      public CSVAggregateReporter.Builder withCallback(Callable<Void> callback)
    • build

      public CSVAggregateReporter build(File directory)
      Builds a CsvReporter with the given properties, writing .csv files to the given directory.
      Parameters:
      directory - the directory in which the .csv files will be created
      Returns:
      a CsvReporter