Class Aggregator
- java.lang.Object
-
- org.torproject.metrics.stats.hidserv.Aggregator
-
public class Aggregator extends java.lang.Object
Aggregate extrapolated network totals of hidden-service statistics by calculating statistics like the daily weighted interquartile mean. Also calculate simpler statistics like the number of reported statistics and the total network fraction of reporting relays.
-
-
Constructor Summary
Constructors Constructor Description Aggregator(java.io.File statusDirectory, DocumentStore<ExtrapolatedHidServStats> extrapolatedHidServStatsStore, java.io.File hidservStatsCsvFile)
Initializes a new aggregator object using the given directory, document store, and output file for results.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aggregateHidServStats()
Calculates aggregates for all extrapolated hidden-service statistics and writes them to the output file.
-
-
-
Constructor Detail
-
Aggregator
public Aggregator(java.io.File statusDirectory, DocumentStore<ExtrapolatedHidServStats> extrapolatedHidServStatsStore, java.io.File hidservStatsCsvFile)
Initializes a new aggregator object using the given directory, document store, and output file for results.
-
-