A B C D E F G H I L M N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AboutServlet - Class in org.torproject.metrics.web
- AboutServlet() - Constructor for class org.torproject.metrics.web.AboutServlet
- addBandwidthHistory(String, long, List<String>) - Method in class org.torproject.metrics.stats.bwhist.RelayDescriptorDatabaseImporter
-
Inserts a bandwidth history into database.
- addExtraInfoDescriptorContents(String, long, List<String>) - Method in class org.torproject.metrics.stats.bwhist.RelayDescriptorDatabaseImporter
-
Insert extra-info descriptor into database.
- addStatusEntryContents(long, String, String, String, long, String, long, long, SortedSet<String>, String, long, String, byte[]) - Method in class org.torproject.metrics.stats.bwhist.RelayDescriptorDatabaseImporter
-
Insert network status consensus entry into database.
- aggregateHidServStats() - Method in class org.torproject.metrics.stats.hidserv.Aggregator
-
Calculates aggregates for all extrapolated hidden-service statistics and writes them to the output file.
- Aggregator - Class in org.torproject.metrics.stats.hidserv
-
Aggregate extrapolated network totals of hidden-service statistics by calculating statistics like the daily weighted interquartile mean.
- Aggregator(File, DocumentStore<ExtrapolatedHidServStats>, File) - Constructor for class org.torproject.metrics.stats.hidserv.Aggregator
-
Initializes a new aggregator object using the given directory, document store, and output file for results.
- AnyServlet - Class in org.torproject.metrics.web
- AnyServlet() - Constructor for class org.torproject.metrics.web.AnyServlet
B
- BubblesServlet - Class in org.torproject.metrics.web
- BubblesServlet() - Constructor for class org.torproject.metrics.web.BubblesServlet
C
- categories - Variable in class org.torproject.metrics.web.AnyServlet
- categoriesById - Variable in class org.torproject.metrics.web.MetricServlet
- Category - Class in org.torproject.metrics.web
- Category() - Constructor for class org.torproject.metrics.web.Category
- checkParameters(String, Map) - Method in class org.torproject.metrics.web.GraphParameterChecker
-
Checks request parameters for the given graph type and returns a map of recognized parameters, or null if the graph type doesn't exist or the parameters are invalid.
- checkParameters(String, Map<String, String[]>) - Method in class org.torproject.metrics.web.TableParameterChecker
-
Checks request parameters for the given table type and returns a map of recognized parameters, or null if the table type doesn't exist or the parameters are invalid.
- closeConnection() - Method in class org.torproject.metrics.stats.bwhist.RelayDescriptorDatabaseImporter
-
Close the relay descriptor database connection.
- CollectorDirectoryProvider - Class in org.torproject.metrics.web
-
Periodically fetches a remote index.json file and provides formatted directory listings for all contained directories and subdirectories.
- CollecTorServlet - Class in org.torproject.metrics.web
-
Servlet for CollecTor's "home" page and for CollecTor's directory listings based on the periodically fetched index.json file.
- CollecTorServlet() - Constructor for class org.torproject.metrics.web.CollecTorServlet
- commit() - Method in class org.torproject.metrics.stats.bwhist.RelayDescriptorDatabaseImporter
-
Commit any non-commited parts.
- ComputedNetworkFractions - Class in org.torproject.metrics.stats.hidserv
-
Computed fraction of hidden-service activity that a single relay is assumed to observe in the network.
- ComputedNetworkFractions(String, long) - Constructor for class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
-
Instantiates a new fractions object using fingerprint and consensus valid-after time which together uniquely identify the object.
- ContentProvider - Class in org.torproject.metrics.web
- contextDestroyed(ServletContextEvent) - Method in class org.torproject.metrics.web.RObjectGenerator
- contextInitialized(ServletContextEvent) - Method in class org.torproject.metrics.web.RObjectGenerator
- countries - Variable in class org.torproject.metrics.web.NewsServlet
- Countries - Class in org.torproject.metrics.web
D
- DataSourceServlet - Class in org.torproject.metrics.web
- DataSourceServlet() - Constructor for class org.torproject.metrics.web.DataSourceServlet
- DateTimeHelper - Class in org.torproject.metrics.stats.hidserv
-
Utility class to format and parse dates and timestamps.
- descriptions - Variable in class org.torproject.metrics.web.MetricServlet
- descriptorsDir - Static variable in class org.torproject.metrics.stats.main.Main
- detect() - Method in class org.torproject.metrics.stats.clients.Detector
-
Run censorship detection.
- Detector - Class in org.torproject.metrics.stats.clients
-
Censorship detector that reads a .csv file of the number of Tor clients and finds anomalies that might be indicative of censorship.
- Detector() - Constructor for class org.torproject.metrics.stats.clients.Detector
- DevelopmentServlet - Class in org.torproject.metrics.web
- DevelopmentServlet() - Constructor for class org.torproject.metrics.web.DevelopmentServlet
- DirectoryListing - Class in org.torproject.metrics.web
-
Map with all directory listings for all directories and subdirectories contained in an index.json file.
- Document - Interface in org.torproject.metrics.stats.hidserv
-
Common interface of documents that are supposed to be serialized and stored in document files and later retrieved and de-serialized.
- DocumentStore<T extends Document> - Class in org.torproject.metrics.stats.hidserv
-
Utility class to store serialized objects implementing the Document interface to a file and later to retrieve them.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.AboutServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.BubblesServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.CollecTorServlet
-
Handles requests for either CollecTor's "home" page or for directory listings.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.DataSourceServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.DevelopmentServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.ErrorServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.ExoneraTorWrapperServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.GlossaryServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.GraphImageServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.GraphServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.IndexServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.LinkServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.MetricsGuidelinesServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.MetricsLibServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.NewsServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.OnionooServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.OperationServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.RelaySearchServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.ReproducibleMetricsServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.ResearchServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.ServicesServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.SourcesServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.StatsServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.TableServlet
E
- equals(Object) - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
-
Returns whether this object contains the same fingerprint and consensus valid-after time as the passed object.
- equals(Object) - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
-
Returns whether this object contains the same fingerprint and statistics interval end date as the passed object.
- equals(Object) - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- ErrorServlet - Class in org.torproject.metrics.web
- ErrorServlet() - Constructor for class org.torproject.metrics.web.ErrorServlet
- ExoneraTorWrapperServlet - Class in org.torproject.metrics.web
- ExoneraTorWrapperServlet() - Constructor for class org.torproject.metrics.web.ExoneraTorWrapperServlet
- ExtrapolatedHidServStats - Class in org.torproject.metrics.stats.hidserv
-
Extrapolated network totals of hidden-service statistics reported by a single relay.
- ExtrapolatedHidServStats(long, String) - Constructor for class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
-
Instantiates a new stats object using fingerprint and statistics interval end date which together uniquely identify the object.
- extrapolateHidServStats() - Method in class org.torproject.metrics.stats.hidserv.Extrapolator
-
Iterates over all reported stats and extrapolate network totals for those that have not been extrapolated before.
- Extrapolator - Class in org.torproject.metrics.stats.hidserv
-
Extrapolate hidden-service statistics reported by single relays by dividing them by the computed fraction of hidden-service activity observed by the relay.
- Extrapolator(File, DocumentStore<ReportedHidServStats>, DocumentStore<ComputedNetworkFractions>, DocumentStore<ExtrapolatedHidServStats>) - Constructor for class org.torproject.metrics.stats.hidserv.Extrapolator
-
Initializes a new extrapolator object using the given directory and document stores.
F
- format() - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
-
Returns a string representation of this object, consisting of two strings: the first string contains fingerprint and valid-after date, the second string contains the concatenation of all other attributes.
- format() - Method in interface org.torproject.metrics.stats.hidserv.Document
-
Returns an array of two strings with a string representation of this document.
- format() - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
-
Returns a string representation of this object, consisting of the statistics interval end date and the concatenation of all other attributes.
- format() - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- format(long) - Static method in class org.torproject.metrics.stats.hidserv.DateTimeHelper
-
Formats the given time in milliseconds using ISO date/time format.
- format(long, String) - Static method in class org.torproject.metrics.stats.hidserv.DateTimeHelper
-
Formats the given time in milliseconds using the given format.
G
- generateGraph(String, String, Map<String, String[]>, boolean) - Method in class org.torproject.metrics.web.RObjectGenerator
-
Generates a graph of the given type, given image file type, and with the given parameters, possibly after checking whether the cache already contains that graph.
- generateTable(String, Map<String, String[]>, boolean) - Method in class org.torproject.metrics.web.RObjectGenerator
-
Generates a table of the given type and with the given parameters, possibly after checking whether the cache already contains that table.
- getBytes() - Method in class org.torproject.metrics.web.RObject
- getCategoriesList() - Method in class org.torproject.metrics.web.ContentProvider
- getCountryList() - Method in class org.torproject.metrics.web.Countries
- getDataColumnSpec() - Method in class org.torproject.metrics.web.Metric
- getDataFile() - Method in class org.torproject.metrics.web.Metric
- getDescription() - Method in class org.torproject.metrics.web.Category
- getDescription() - Method in class org.torproject.metrics.web.Metric
- getDescription() - Method in class org.torproject.metrics.web.News
- getDirOnionsSeen() - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- getEnd() - Method in class org.torproject.metrics.web.News
- getExtrapolatedDirOnionsSeen() - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- getExtrapolatedRendRelayedCells() - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- getFileName() - Method in class org.torproject.metrics.web.RObject
- getFingerprint() - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
- getFingerprint() - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- getFingerprint() - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- getFractionDirOnionsSeen() - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
- getFractionDirOnionsSeen() - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- getFractionRendRelayedCells() - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
- getFractionRendRelayedCells() - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- getFunction() - Method in class org.torproject.metrics.web.Metric
- getHeader() - Method in class org.torproject.metrics.web.Category
- getIcon() - Method in class org.torproject.metrics.web.Category
- getId() - Method in class org.torproject.metrics.web.Category
- getId() - Method in class org.torproject.metrics.web.Metric
- getIncludeRelatedEvents() - Method in class org.torproject.metrics.web.Metric
- getInstance() - Static method in class org.torproject.metrics.web.ContentProvider
- getInstance() - Static method in class org.torproject.metrics.web.Countries
- getInstance() - Static method in class org.torproject.metrics.web.GraphParameterChecker
-
Returns the singleton instance of this class.
- getInstance() - Static method in class org.torproject.metrics.web.TableParameterChecker
-
Returns the singleton instance of this class.
- getLabel() - Method in class org.torproject.metrics.web.News.Link
- getLastModified() - Method in class org.torproject.metrics.web.RObject
- getLinks() - Method in class org.torproject.metrics.web.News
- getMetrics() - Method in class org.torproject.metrics.web.Category
- getMetricsList() - Method in class org.torproject.metrics.web.ContentProvider
- getNewsList() - Method in class org.torproject.metrics.web.ContentProvider
- getParameters() - Method in class org.torproject.metrics.web.Metric
- getPlaceNames() - Method in class org.torproject.metrics.web.News
-
Returns an array of country names looked up from the country codes associated with this news entry.
- getPlaces() - Method in class org.torproject.metrics.web.News
- getProtocols() - Method in class org.torproject.metrics.web.News
- getRendRelayedCells() - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- getShortDescription() - Method in class org.torproject.metrics.web.News
- getStart() - Method in class org.torproject.metrics.web.News
- getStatsDateMillis() - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- getStatsEndMillis() - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- getStatsIntervalSeconds() - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- getSummary() - Method in class org.torproject.metrics.web.Category
- getTableCellFormats() - Method in class org.torproject.metrics.web.Metric
- getTableHeaders() - Method in class org.torproject.metrics.web.Metric
- getTarget() - Method in class org.torproject.metrics.web.News.Link
- getTitle() - Method in class org.torproject.metrics.web.Metric
- getType() - Method in class org.torproject.metrics.web.Metric
- getValidAfterMillis() - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
- GlossaryServlet - Class in org.torproject.metrics.web
- GlossaryServlet() - Constructor for class org.torproject.metrics.web.GlossaryServlet
- GraphImageServlet - Class in org.torproject.metrics.web
-
Servlet that reads an HTTP request for a graph image, asks the RObjectGenerator to generate this graph if it's not in the cache, and returns the image bytes to the client.
- GraphImageServlet() - Constructor for class org.torproject.metrics.web.GraphImageServlet
- GraphParameterChecker - Class in org.torproject.metrics.web
-
Checks request parameters passed to graph-generating servlets.
- GraphParameterChecker() - Constructor for class org.torproject.metrics.web.GraphParameterChecker
-
Initializes map with valid parameters for each of the graphs.
- GraphServlet - Class in org.torproject.metrics.web
- GraphServlet() - Constructor for class org.torproject.metrics.web.GraphServlet
H
- hashCode() - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
-
Returns a (hopefully unique) hash code based on this object's fingerprint and consensus valid-after time.
- hashCode() - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
-
Returns a (hopefully unique) hash code based on this object's fingerprint and statistics interval end date.
- hashCode() - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
I
- idsByType - Variable in class org.torproject.metrics.web.MetricServlet
- importRelayDescriptors() - Method in class org.torproject.metrics.stats.bwhist.RelayDescriptorDatabaseImporter
-
Imports relay descriptors into the database.
- includeRelatedEvents - Variable in class org.torproject.metrics.web.MetricServlet
- IndexServlet - Class in org.torproject.metrics.web
- IndexServlet() - Constructor for class org.torproject.metrics.web.IndexServlet
- init() - Method in class org.torproject.metrics.web.AnyServlet
- init() - Method in class org.torproject.metrics.web.DataSourceServlet
- init() - Method in class org.torproject.metrics.web.GraphImageServlet
- init() - Method in class org.torproject.metrics.web.GraphServlet
- init() - Method in class org.torproject.metrics.web.MetricServlet
- init() - Method in class org.torproject.metrics.web.NewsServlet
- init() - Method in class org.torproject.metrics.web.TableServlet
- init(ServletConfig) - Method in class org.torproject.metrics.web.CollecTorServlet
-
Initializes this servlet by retrieving the CollecTor host name from the configuration file and starting the periodic index.json downloader.
- init(ServletConfig) - Method in class org.torproject.metrics.web.ExoneraTorWrapperServlet
- ISO_DATE_FORMAT - Static variable in class org.torproject.metrics.stats.hidserv.DateTimeHelper
- ISO_DATE_HOUR_FORMAT - Static variable in class org.torproject.metrics.stats.hidserv.DateTimeHelper
- ISO_DATETIME_FORMAT - Static variable in class org.torproject.metrics.stats.hidserv.DateTimeHelper
- ISO_HOUR_FORMAT - Static variable in class org.torproject.metrics.stats.hidserv.DateTimeHelper
- isOngoing() - Method in class org.torproject.metrics.web.News
-
Returns whether or not the event is ongoing.
- isUnknown() - Method in class org.torproject.metrics.web.News
-
Returns whether or not the reason for an event is known.
L
- Link() - Constructor for class org.torproject.metrics.web.News.Link
- LinkServlet - Class in org.torproject.metrics.web
- LinkServlet() - Constructor for class org.torproject.metrics.web.LinkServlet
M
- main(String[]) - Static method in class org.torproject.metrics.stats.advbwdist.Main
-
Executes this data-processing module.
- main(String[]) - Static method in class org.torproject.metrics.stats.bwhist.Main
-
Executes this data-processing module.
- main(String[]) - Static method in class org.torproject.metrics.stats.clients.Main
-
Executes this data-processing module.
- main(String[]) - Static method in class org.torproject.metrics.stats.collectdescs.Main
-
Executes this data-processing module.
- main(String[]) - Static method in class org.torproject.metrics.stats.connbidirect.Main
-
Executes this data-processing module.
- main(String[]) - Static method in class org.torproject.metrics.stats.hidserv.Main
-
Parses new descriptors, extrapolate contained statistics using computed network fractions, aggregate results, and writes results to disk.
- main(String[]) - Static method in class org.torproject.metrics.stats.hidserv.Simulate
-
Runs two simulations to evaluate this data-processing module.
- main(String[]) - Static method in class org.torproject.metrics.stats.main.Main
-
Start the metrics update run.
- main(String[]) - Static method in class org.torproject.metrics.stats.onionperf.Main
-
Executes this data-processing module.
- main(String[]) - Static method in class org.torproject.metrics.stats.servers.Main
-
Run the module.
- main(String[]) - Static method in class org.torproject.metrics.stats.totalcw.Main
-
Run the module.
- main(String[]) - Static method in class org.torproject.metrics.stats.webstats.Main
-
Executes this data-processing module.
- main(String[]) - Static method in class org.torproject.metrics.web.ServerMain
-
Starts the web server listening for incoming client connections.
- main(String[]) - Static method in class org.torproject.metrics.web.UpdateNews
-
Update news.
- Main - Class in org.torproject.metrics.stats.advbwdist
- Main - Class in org.torproject.metrics.stats.bwhist
-
Coordinate downloading and parsing of descriptors and extraction of statistically relevant data for later processing with R.
- Main - Class in org.torproject.metrics.stats.clients
- Main - Class in org.torproject.metrics.stats.collectdescs
- Main - Class in org.torproject.metrics.stats.connbidirect
- Main - Class in org.torproject.metrics.stats.hidserv
-
Main class for updating extrapolated network totals of hidden-service statistics.
- Main - Class in org.torproject.metrics.stats.main
- Main - Class in org.torproject.metrics.stats.onionperf
- Main - Class in org.torproject.metrics.stats.servers
-
Main class of the servers module that imports relevant parts from server descriptors and network statuses into a database, and exports aggregate statistics to CSV files.
- Main - Class in org.torproject.metrics.stats.totalcw
-
Main class of the totalcw module that imports bandwidth measurement statistics from votes into a database and exports aggregate statistics to a CSV file.
- Main - Class in org.torproject.metrics.stats.webstats
-
Main class of the webstats module that downloads log files from the server, imports them into a database, and exports aggregate statistics to a CSV file.
- Main() - Constructor for class org.torproject.metrics.stats.advbwdist.Main
- Main() - Constructor for class org.torproject.metrics.stats.bwhist.Main
- Main() - Constructor for class org.torproject.metrics.stats.clients.Main
- Main() - Constructor for class org.torproject.metrics.stats.collectdescs.Main
- Main() - Constructor for class org.torproject.metrics.stats.connbidirect.Main
- Main() - Constructor for class org.torproject.metrics.stats.hidserv.Main
- Main() - Constructor for class org.torproject.metrics.stats.main.Main
- Main() - Constructor for class org.torproject.metrics.stats.onionperf.Main
- Main() - Constructor for class org.torproject.metrics.stats.servers.Main
- Main() - Constructor for class org.torproject.metrics.stats.totalcw.Main
- Main() - Constructor for class org.torproject.metrics.stats.webstats.Main
- Metric - Class in org.torproject.metrics.web
- Metric() - Constructor for class org.torproject.metrics.web.Metric
- metrics - Variable in class org.torproject.metrics.web.MetricServlet
- MetricServlet - Class in org.torproject.metrics.web
- MetricServlet() - Constructor for class org.torproject.metrics.web.MetricServlet
- MetricsGuidelinesServlet - Class in org.torproject.metrics.web
- MetricsGuidelinesServlet() - Constructor for class org.torproject.metrics.web.MetricsGuidelinesServlet
- MetricsLibServlet - Class in org.torproject.metrics.web
- MetricsLibServlet() - Constructor for class org.torproject.metrics.web.MetricsLibServlet
- modulesDir - Static variable in class org.torproject.metrics.stats.main.Main
N
- News - Class in org.torproject.metrics.web
- News() - Constructor for class org.torproject.metrics.web.News
- News.Link - Class in org.torproject.metrics.web
- NewsServlet - Class in org.torproject.metrics.web
- NewsServlet() - Constructor for class org.torproject.metrics.web.NewsServlet
- NO_TIME_AVAILABLE - Static variable in class org.torproject.metrics.stats.hidserv.DateTimeHelper
-
Default result of the parse methods if the provided time could not be parsed.
O
- ONE_DAY - Static variable in class org.torproject.metrics.stats.hidserv.DateTimeHelper
- ONE_HOUR - Static variable in class org.torproject.metrics.stats.hidserv.DateTimeHelper
- ONE_MINUTE - Static variable in class org.torproject.metrics.stats.hidserv.DateTimeHelper
- ONE_SECOND - Static variable in class org.torproject.metrics.stats.hidserv.DateTimeHelper
- OnionooServlet - Class in org.torproject.metrics.web
- OnionooServlet() - Constructor for class org.torproject.metrics.web.OnionooServlet
- OperationServlet - Class in org.torproject.metrics.web
- OperationServlet() - Constructor for class org.torproject.metrics.web.OperationServlet
- org.torproject.metrics.stats.advbwdist - package org.torproject.metrics.stats.advbwdist
- org.torproject.metrics.stats.bwhist - package org.torproject.metrics.stats.bwhist
- org.torproject.metrics.stats.clients - package org.torproject.metrics.stats.clients
- org.torproject.metrics.stats.collectdescs - package org.torproject.metrics.stats.collectdescs
- org.torproject.metrics.stats.connbidirect - package org.torproject.metrics.stats.connbidirect
- org.torproject.metrics.stats.hidserv - package org.torproject.metrics.stats.hidserv
- org.torproject.metrics.stats.main - package org.torproject.metrics.stats.main
- org.torproject.metrics.stats.onionperf - package org.torproject.metrics.stats.onionperf
- org.torproject.metrics.stats.servers - package org.torproject.metrics.stats.servers
- org.torproject.metrics.stats.totalcw - package org.torproject.metrics.stats.totalcw
- org.torproject.metrics.stats.webstats - package org.torproject.metrics.stats.webstats
- org.torproject.metrics.web - package org.torproject.metrics.web
P
- parameters - Variable in class org.torproject.metrics.web.MetricServlet
- parse(String) - Static method in class org.torproject.metrics.stats.hidserv.DateTimeHelper
-
Parses the given string using ISO date/time format.
- parse(String[]) - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
-
Initializes this fractions object using the two provided strings that have been produced by the format method earlier and returns whether this operation was successful.
- parse(String[]) - Method in interface org.torproject.metrics.stats.hidserv.Document
-
Initializes an object using the given array of two strings.
- parse(String[]) - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
-
Initializes this stats object using the two provided strings that have been produced by the format method earlier and returns whether this operation was successful.
- parse(String[]) - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- parse(String, String) - Static method in class org.torproject.metrics.stats.hidserv.DateTimeHelper
-
Parses the given string using the given format.
- parseDescriptors() - Method in class org.torproject.metrics.stats.hidserv.Parser
-
Instructs the descriptor reader to parse descriptor files, and handles the resulting parsed descriptors if they are either extra-info descriptors or consensuses.
- Parser - Class in org.torproject.metrics.stats.hidserv
-
Parse hidden-service statistics from extra-info descriptors, compute network fractions from consensuses, and write parsed contents to document files for later use.
- Parser(File[], File, DocumentStore<ReportedHidServStats>, DocumentStore<ComputedNetworkFractions>) - Constructor for class org.torproject.metrics.stats.hidserv.Parser
-
Initializes a new parser object using the given directories and document stores.
- parseRelayNetworkStatusConsensus(RelayNetworkStatusConsensus) - Method in class org.torproject.metrics.stats.hidserv.Parser
-
Parses the given consensus.
R
- readParseHistory() - Method in class org.torproject.metrics.stats.hidserv.Parser
-
Reads the parse history file to avoid parsing descriptor files that have not changed since the previous execution.
- RelayDescriptorDatabaseImporter - Class in org.torproject.metrics.stats.bwhist
-
Parse directory data.
- RelayDescriptorDatabaseImporter(File[], File, String) - Constructor for class org.torproject.metrics.stats.bwhist.RelayDescriptorDatabaseImporter
-
Initialize database importer by connecting to the database and preparing statements.
- RelaySearchServlet - Class in org.torproject.metrics.web
- RelaySearchServlet() - Constructor for class org.torproject.metrics.web.RelaySearchServlet
- ReportedHidServStats - Class in org.torproject.metrics.stats.hidserv
- ReportedHidServStats(String, long) - Constructor for class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- ReproducibleMetricsServlet - Class in org.torproject.metrics.web
- ReproducibleMetricsServlet() - Constructor for class org.torproject.metrics.web.ReproducibleMetricsServlet
- ResearchServlet - Class in org.torproject.metrics.web
- ResearchServlet() - Constructor for class org.torproject.metrics.web.ResearchServlet
- retrieve(File) - Method in class org.torproject.metrics.stats.hidserv.DocumentStore
-
Retrieves all previously stored documents from the given file.
- retrieve(File, String) - Method in class org.torproject.metrics.stats.hidserv.DocumentStore
-
Retrieves previously stored documents from the given file that start with the given prefix.
- RObject - Class in org.torproject.metrics.web
- RObject(byte[], String, long) - Constructor for class org.torproject.metrics.web.RObject
-
Initializes an R object.
- RObjectGenerator - Class in org.torproject.metrics.web
- RObjectGenerator() - Constructor for class org.torproject.metrics.web.RObjectGenerator
- run() - Method in class org.torproject.metrics.web.CollectorDirectoryProvider
-
Fetch the remote index.json and extract all we need to know to later produce directory listings as requested.
S
- ServerMain - Class in org.torproject.metrics.web
- ServerMain() - Constructor for class org.torproject.metrics.web.ServerMain
- ServicesServlet - Class in org.torproject.metrics.web
- ServicesServlet() - Constructor for class org.torproject.metrics.web.ServicesServlet
- setDirOnionsSeen(long) - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- setExtrapolatedDirOnionsSeen(double) - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- setExtrapolatedRendRelayedCells(double) - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- setFractionDirOnionsSeen(double) - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
- setFractionDirOnionsSeen(double) - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- setFractionRendRelayedCells(double) - Method in class org.torproject.metrics.stats.hidserv.ComputedNetworkFractions
- setFractionRendRelayedCells(double) - Method in class org.torproject.metrics.stats.hidserv.ExtrapolatedHidServStats
- setRendRelayedCells(long) - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- setStatsIntervalSeconds(long) - Method in class org.torproject.metrics.stats.hidserv.ReportedHidServStats
- Simulate - Class in org.torproject.metrics.stats.hidserv
- Simulate() - Constructor for class org.torproject.metrics.stats.hidserv.Simulate
- sortedEvents - Variable in class org.torproject.metrics.web.MetricServlet
- sortedNews - Variable in class org.torproject.metrics.web.NewsServlet
- SourcesServlet - Class in org.torproject.metrics.web
- SourcesServlet() - Constructor for class org.torproject.metrics.web.SourcesServlet
- StatsServlet - Class in org.torproject.metrics.web
- StatsServlet() - Constructor for class org.torproject.metrics.web.StatsServlet
- store(File, Set<T>) - Method in class org.torproject.metrics.stats.hidserv.DocumentStore
-
Stores the provided documents in the given file and returns whether the storage operation was successful.
T
- tableCellFormats - Variable in class org.torproject.metrics.web.MetricServlet
- tableHeaders - Variable in class org.torproject.metrics.web.MetricServlet
- TableParameterChecker - Class in org.torproject.metrics.web
-
Checks request parameters passed to generate tables.
- TableParameterChecker() - Constructor for class org.torproject.metrics.web.TableParameterChecker
-
Initializes map with valid parameters for each of the graphs.
- TableServlet - Class in org.torproject.metrics.web
- TableServlet() - Constructor for class org.torproject.metrics.web.TableServlet
- titles - Variable in class org.torproject.metrics.web.MetricServlet
U
- UpdateNews - Class in org.torproject.metrics.web
- UpdateNews() - Constructor for class org.torproject.metrics.web.UpdateNews
W
- writeParseHistory() - Method in class org.torproject.metrics.stats.hidserv.Parser
-
Writes parsed or skipped descriptor files with last-modified times and absolute paths to the parse history file to avoid parsing these files again, unless they change until the next execution.
All Classes All Packages