Class CsvReporter
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.simulator.report.TextReporter
-
- com.github.benmanes.caffeine.cache.simulator.report.csv.CsvReporter
-
- All Implemented Interfaces:
Reporter
public final class CsvReporter extends TextReporter
A plain text report that prints comma-separated values.
-
-
Constructor Summary
Constructors Constructor Description CsvReporter(Config config, Set<Policy.Characteristic> characteristics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Stringassemble(Set<String> headers, List<PolicyStats> results)Assembles an aggregated report.protected Metricsmetrics()Returns the configuration for how to work with metrics.-
Methods inherited from class com.github.benmanes.caffeine.cache.simulator.report.TextReporter
print
-
-
-
-
Constructor Detail
-
CsvReporter
public CsvReporter(Config config, Set<Policy.Characteristic> characteristics)
-
-
Method Detail
-
assemble
protected String assemble(Set<String> headers, List<PolicyStats> results)
Description copied from class:TextReporterAssembles an aggregated report.- Specified by:
assemblein classTextReporter
-
metrics
protected Metrics metrics()
Description copied from class:TextReporterReturns the configuration for how to work with metrics.- Specified by:
metricsin classTextReporter
-
-