Skip navigation links
A B C D E F G H I L M N O P R S T W 

A

AboutServlet - Class in org.torproject.metrics.web
 
AboutServlet() - Constructor for class org.torproject.metrics.web.AboutServlet
 
acquireLock() - Method in class org.torproject.ernie.cron.LockFile
Acquires the lock by checking whether a lock file already exists, and if not, by creating one with the current system time as content.
addBandwidthHistory(String, long, List<String>) - Method in class org.torproject.ernie.cron.RelayDescriptorDatabaseImporter
Inserts a bandwidth history into database.
addBridgeConsensusResults(long, String, int, int) - Method in class org.torproject.ernie.cron.network.ConsensusStatsFileHandler
Adds the intermediate results of the number of running bridges in a given bridge status to the existing observations.
addConsensus(long) - Method in class org.torproject.ernie.cron.RelayDescriptorDatabaseImporter
Insert network status consensus into database.
addExtraInfoDescriptorContents(String, String, String, long, List<String>) - Method in class org.torproject.ernie.cron.RelayDescriptorDatabaseImporter
Insert extra-info descriptor into database.
addServerDescriptorContents(String, String, String, int, int, String, long, long, long, String, long, Long, String) - Method in class org.torproject.ernie.cron.RelayDescriptorDatabaseImporter
Insert server descriptor into database.
addStatusEntryContents(long, String, String, String, long, String, long, long, SortedSet<String>, String, long, String, byte[]) - Method in class org.torproject.ernie.cron.RelayDescriptorDatabaseImporter
Insert network status consensus entry into database.
aggregateHidServStats() - Method in class org.torproject.metrics.hidserv.Aggregator
Calculates aggregates for all extrapolated hidden-service statistics and writes them to the output file.
Aggregator - Class in org.torproject.metrics.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.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.graphs
 
BubblesServlet() - Constructor for class org.torproject.metrics.web.graphs.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.graphs.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) - Method in class org.torproject.metrics.web.graphs.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.ernie.cron.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
 
ComputedNetworkFractions - Class in org.torproject.metrics.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.hidserv.ComputedNetworkFractions
Instantiates a new fractions object using fingerprint and consensus valid-after time which together uniquely identify the object.
Configuration - Class in org.torproject.ernie.cron
Initialize configuration with hard-coded defaults, overwrite with configuration in config file, if exists, and answer Main.java about our configuration.
Configuration() - Constructor for class org.torproject.ernie.cron.Configuration
Initializes this configuration class.
ConsensusStatsFileHandler - Class in org.torproject.ernie.cron.network
Generates statistics on the average number of relays and bridges per day.
ConsensusStatsFileHandler(String, File, File, boolean) - Constructor for class org.torproject.ernie.cron.network.ConsensusStatsFileHandler
Initializes this class, including reading in intermediate results files stats/consensus-stats-raw and stats/bridge-consensus-stats-raw and final results file stats/consensus-stats.
ContentProvider - Class in org.torproject.metrics.web
 
contextDestroyed(ServletContextEvent) - Method in class org.torproject.metrics.web.graphs.RObjectGenerator
 
contextInitialized(ServletContextEvent) - Method in class org.torproject.metrics.web.graphs.RObjectGenerator
 
Countries - Class in org.torproject.metrics.web.graphs
 
countries - Variable in class org.torproject.metrics.web.NewsServlet
 

D

data - Variable in class org.torproject.metrics.web.MetricServlet
 
DataSourceServlet - Class in org.torproject.metrics.web
 
DataSourceServlet() - Constructor for class org.torproject.metrics.web.DataSourceServlet
 
DateTimeHelper - Class in org.torproject.metrics.hidserv
Utility class to format and parse dates and timestamps.
descriptions - Variable in class org.torproject.metrics.web.MetricServlet
 
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.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.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.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.GlossaryServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.graphs.BubblesServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.torproject.metrics.web.graphs.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.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.research.ResearchStatsServlet
 
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.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.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.hidserv.ReportedHidServStats
 
ErrorServlet - Class in org.torproject.metrics.web
 
ErrorServlet() - Constructor for class org.torproject.metrics.web.ErrorServlet
 
ExtrapolatedHidServStats - Class in org.torproject.metrics.hidserv
Extrapolated network totals of hidden-service statistics reported by a single relay.
ExtrapolatedHidServStats(long, String) - Constructor for class org.torproject.metrics.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.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.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.hidserv.Extrapolator
Initializes a new extrapolator object using the given directory and document stores.

F

format() - Method in class org.torproject.metrics.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(long, String) - Static method in class org.torproject.metrics.hidserv.DateTimeHelper
Formats the given time in milliseconds using the given format.
format(long) - Static method in class org.torproject.metrics.hidserv.DateTimeHelper
Formats the given time in milliseconds using ISO date/time format.
format() - Method in interface org.torproject.metrics.hidserv.Document
Returns an array of two strings with a string representation of this document.
format() - Method in class org.torproject.metrics.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.hidserv.ReportedHidServStats
 

G

generateGraph(String, String, Map, boolean) - Method in class org.torproject.metrics.web.graphs.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, boolean) - Method in class org.torproject.metrics.web.graphs.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.graphs.RObject
 
getCategoriesList() - Method in class org.torproject.metrics.web.ContentProvider
 
getCountryList() - Method in class org.torproject.metrics.web.graphs.Countries
 
getData() - Method in class org.torproject.metrics.web.Metric
 
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
 
getDirectoryArchivesDirectories() - Method in class org.torproject.ernie.cron.Configuration
Returns directories containing archived descriptors.
getDirOnionsSeen() - Method in class org.torproject.metrics.hidserv.ReportedHidServStats
 
getExtrapolatedDirOnionsSeen() - Method in class org.torproject.metrics.hidserv.ExtrapolatedHidServStats
 
getExtrapolatedRendRelayedCells() - Method in class org.torproject.metrics.hidserv.ExtrapolatedHidServStats
 
getFileName() - Method in class org.torproject.metrics.web.graphs.RObject
 
getFingerprint() - Method in class org.torproject.metrics.hidserv.ComputedNetworkFractions
 
getFingerprint() - Method in class org.torproject.metrics.hidserv.ExtrapolatedHidServStats
 
getFingerprint() - Method in class org.torproject.metrics.hidserv.ReportedHidServStats
 
getFractionDirOnionsSeen() - Method in class org.torproject.metrics.hidserv.ComputedNetworkFractions
 
getFractionDirOnionsSeen() - Method in class org.torproject.metrics.hidserv.ExtrapolatedHidServStats
 
getFractionRendRelayedCells() - Method in class org.torproject.metrics.hidserv.ComputedNetworkFractions
 
getFractionRendRelayedCells() - Method in class org.torproject.metrics.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
 
getImportDirectoryArchives() - Method in class org.torproject.ernie.cron.Configuration
 
getImportSanitizedBridges() - Method in class org.torproject.ernie.cron.Configuration
 
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.graphs.Countries
 
getInstance() - Static method in class org.torproject.metrics.web.graphs.GraphParameterChecker
Returns the singleton instance of this class.
getInstance() - Static method in class org.torproject.metrics.web.graphs.TableParameterChecker
Returns the singleton instance of this class.
getKeepDirectoryArchiveImportHistory() - Method in class org.torproject.ernie.cron.Configuration
 
getKeepSanitizedBridgesImportHistory() - Method in class org.torproject.ernie.cron.Configuration
 
getLastModified() - Method in class org.torproject.metrics.web.graphs.RObject
 
getLastModified(HttpServletRequest) - Method in class org.torproject.metrics.web.research.ResearchStatsServlet
 
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
 
getRelayDescriptorDatabaseJdbc() - Method in class org.torproject.ernie.cron.Configuration
 
getRelayDescriptorRawFilesDirectory() - Method in class org.torproject.ernie.cron.Configuration
 
getRendRelayedCells() - Method in class org.torproject.metrics.hidserv.ReportedHidServStats
 
getSanitizedBridgesDirectory() - Method in class org.torproject.ernie.cron.Configuration
 
getStatsDateMillis() - Method in class org.torproject.metrics.hidserv.ExtrapolatedHidServStats
 
getStatsEndMillis() - Method in class org.torproject.metrics.hidserv.ReportedHidServStats
 
getStatsIntervalSeconds() - Method in class org.torproject.metrics.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
 
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.hidserv.ComputedNetworkFractions
 
getWriteBridgeStats() - Method in class org.torproject.ernie.cron.Configuration
 
getWriteRelayDescriptorDatabase() - Method in class org.torproject.ernie.cron.Configuration
 
getWriteRelayDescriptorsRawFiles() - Method in class org.torproject.ernie.cron.Configuration
 
GlossaryServlet - Class in org.torproject.metrics.web
 
GlossaryServlet() - Constructor for class org.torproject.metrics.web.GlossaryServlet
 
GraphImageServlet - Class in org.torproject.metrics.web.graphs
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.graphs.GraphImageServlet
 
GraphParameterChecker - Class in org.torproject.metrics.web.graphs
Checks request parameters passed to graph-generating servlets.
GraphParameterChecker() - Constructor for class org.torproject.metrics.web.graphs.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.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.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.hidserv.ReportedHidServStats
 

I

idsByType - Variable in class org.torproject.metrics.web.MetricServlet
 
importRelayDescriptors() - Method in class org.torproject.ernie.cron.RelayDescriptorDatabaseImporter
Imports relay descriptors into the database.
importSanitizedBridges() - Method in class org.torproject.ernie.cron.network.ConsensusStatsFileHandler
Imports sanitized bridge descriptors.
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.AboutServlet
 
init() - Method in class org.torproject.metrics.web.AnyServlet
 
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() - Method in class org.torproject.metrics.web.DataSourceServlet
 
init() - Method in class org.torproject.metrics.web.DevelopmentServlet
 
init() - Method in class org.torproject.metrics.web.ErrorServlet
 
init() - Method in class org.torproject.metrics.web.GlossaryServlet
 
init() - Method in class org.torproject.metrics.web.graphs.BubblesServlet
 
init() - Method in class org.torproject.metrics.web.graphs.GraphImageServlet
 
init() - Method in class org.torproject.metrics.web.GraphServlet
 
init() - Method in class org.torproject.metrics.web.IndexServlet
 
init() - Method in class org.torproject.metrics.web.LinkServlet
 
init() - Method in class org.torproject.metrics.web.MetricServlet
 
init() - Method in class org.torproject.metrics.web.MetricsLibServlet
 
init() - Method in class org.torproject.metrics.web.NewsServlet
 
init() - Method in class org.torproject.metrics.web.OnionooServlet
 
init() - Method in class org.torproject.metrics.web.OperationServlet
 
init(ServletConfig) - Method in class org.torproject.metrics.web.research.ResearchStatsServlet
 
init() - Method in class org.torproject.metrics.web.ResearchServlet
 
init() - Method in class org.torproject.metrics.web.ServicesServlet
 
init() - Method in class org.torproject.metrics.web.SourcesServlet
 
init() - Method in class org.torproject.metrics.web.StatsServlet
 
init() - Method in class org.torproject.metrics.web.TableServlet
 
ISO_DATE_FORMAT - Static variable in class org.torproject.metrics.hidserv.DateTimeHelper
 
ISO_DATE_HOUR_FORMAT - Static variable in class org.torproject.metrics.hidserv.DateTimeHelper
 
ISO_DATETIME_FORMAT - Static variable in class org.torproject.metrics.hidserv.DateTimeHelper
 
ISO_HOUR_FORMAT - Static variable in class org.torproject.metrics.hidserv.DateTimeHelper
 

L

LinkServlet - Class in org.torproject.metrics.web
 
LinkServlet() - Constructor for class org.torproject.metrics.web.LinkServlet
 
LockFile - Class in org.torproject.ernie.cron
 
LockFile() - Constructor for class org.torproject.ernie.cron.LockFile
 
LoggingConfiguration - Class in org.torproject.ernie.cron
Initialize logging configuration.
LoggingConfiguration() - Constructor for class org.torproject.ernie.cron.LoggingConfiguration
Initializes the logging configuration.

M

Main - Class in org.torproject.ernie.cron
Coordinate downloading and parsing of descriptors and extraction of statistically relevant data for later processing with R.
Main() - Constructor for class org.torproject.ernie.cron.Main
 
main(String[]) - Static method in class org.torproject.ernie.cron.Main
Executes this data-processing module.
Main - Class in org.torproject.metrics.advbwdist
 
Main() - Constructor for class org.torproject.metrics.advbwdist.Main
 
main(String[]) - Static method in class org.torproject.metrics.advbwdist.Main
Executes this data-processing module.
Main - Class in org.torproject.metrics.clients
 
Main() - Constructor for class org.torproject.metrics.clients.Main
 
main(String[]) - Static method in class org.torproject.metrics.clients.Main
Executes this data-processing module.
Main - Class in org.torproject.metrics.collectdescs
 
Main() - Constructor for class org.torproject.metrics.collectdescs.Main
 
main(String[]) - Static method in class org.torproject.metrics.collectdescs.Main
Executes this data-processing module.
Main - Class in org.torproject.metrics.connbidirect
 
Main() - Constructor for class org.torproject.metrics.connbidirect.Main
 
main(String[]) - Static method in class org.torproject.metrics.connbidirect.Main
Executes this data-processing module.
Main - Class in org.torproject.metrics.hidserv
Main class for updating extrapolated network totals of hidden-service statistics.
Main() - Constructor for class org.torproject.metrics.hidserv.Main
 
main(String[]) - Static method in class org.torproject.metrics.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.hidserv.Simulate
Runs two simulations to evaluate this data-processing module.
Main - Class in org.torproject.metrics.onionperf
 
Main() - Constructor for class org.torproject.metrics.onionperf.Main
 
main(String[]) - Static method in class org.torproject.metrics.onionperf.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 - Class in org.torproject.metrics.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.webstats.Main
 
main(String[]) - Static method in class org.torproject.metrics.webstats.Main
Executes this data-processing module.
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
 
MetricsLibServlet - Class in org.torproject.metrics.web
 
MetricsLibServlet() - Constructor for class org.torproject.metrics.web.MetricsLibServlet
 

N

News - Class in org.torproject.metrics.web
 
News() - Constructor for class org.torproject.metrics.web.News
 
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.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.hidserv.DateTimeHelper
 
ONE_HOUR - Static variable in class org.torproject.metrics.hidserv.DateTimeHelper
 
ONE_MINUTE - Static variable in class org.torproject.metrics.hidserv.DateTimeHelper
 
ONE_SECOND - Static variable in class org.torproject.metrics.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.ernie.cron - package org.torproject.ernie.cron
 
org.torproject.ernie.cron.network - package org.torproject.ernie.cron.network
 
org.torproject.metrics.advbwdist - package org.torproject.metrics.advbwdist
 
org.torproject.metrics.clients - package org.torproject.metrics.clients
 
org.torproject.metrics.collectdescs - package org.torproject.metrics.collectdescs
 
org.torproject.metrics.connbidirect - package org.torproject.metrics.connbidirect
 
org.torproject.metrics.hidserv - package org.torproject.metrics.hidserv
 
org.torproject.metrics.onionperf - package org.torproject.metrics.onionperf
 
org.torproject.metrics.web - package org.torproject.metrics.web
 
org.torproject.metrics.web.graphs - package org.torproject.metrics.web.graphs
 
org.torproject.metrics.web.research - package org.torproject.metrics.web.research
 
org.torproject.metrics.webstats - package org.torproject.metrics.webstats
 

P

parameters - Variable in class org.torproject.metrics.web.MetricServlet
 
parse(String[]) - Method in class org.torproject.metrics.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, String) - Static method in class org.torproject.metrics.hidserv.DateTimeHelper
Parses the given string using the given format.
parse(String) - Static method in class org.torproject.metrics.hidserv.DateTimeHelper
Parses the given string using ISO date/time format.
parse(String[]) - Method in interface org.torproject.metrics.hidserv.Document
Initializes an object using the given array of two strings.
parse(String[]) - Method in class org.torproject.metrics.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.hidserv.ReportedHidServStats
 
parseDescriptors() - Method in class org.torproject.metrics.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.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.hidserv.Parser
Initializes a new parser object using the given directories and document stores.
parseRelayNetworkStatusConsensus(RelayNetworkStatusConsensus) - Method in class org.torproject.metrics.hidserv.Parser
Parses the given consensus.

R

readParseHistory() - Method in class org.torproject.metrics.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.ernie.cron
Parse directory data.
RelayDescriptorDatabaseImporter(String, String, List<File>, File, boolean) - Constructor for class org.torproject.ernie.cron.RelayDescriptorDatabaseImporter
Initialize database importer by connecting to the database and preparing statements.
releaseLock() - Method in class org.torproject.ernie.cron.LockFile
Releases the lock by deleting the lock file, if present.
ReportedHidServStats - Class in org.torproject.metrics.hidserv
 
ReportedHidServStats(String, long) - Constructor for class org.torproject.metrics.hidserv.ReportedHidServStats
 
ResearchServlet - Class in org.torproject.metrics.web
 
ResearchServlet() - Constructor for class org.torproject.metrics.web.ResearchServlet
 
ResearchStatsServlet - Class in org.torproject.metrics.web.research
 
ResearchStatsServlet() - Constructor for class org.torproject.metrics.web.research.ResearchStatsServlet
 
retrieve(File) - Method in class org.torproject.metrics.hidserv.DocumentStore
Retrieves all previously stored documents from the given file.
retrieve(File, String) - Method in class org.torproject.metrics.hidserv.DocumentStore
Retrieves previously stored documents from the given file that start with the given prefix.
RObject - Class in org.torproject.metrics.web.graphs
 
RObject(byte[], String, long) - Constructor for class org.torproject.metrics.web.graphs.RObject
Initializes an R object.
RObjectGenerator - Class in org.torproject.metrics.web.graphs
 
RObjectGenerator() - Constructor for class org.torproject.metrics.web.graphs.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.hidserv.ReportedHidServStats
 
setExtrapolatedDirOnionsSeen(double) - Method in class org.torproject.metrics.hidserv.ExtrapolatedHidServStats
 
setExtrapolatedRendRelayedCells(double) - Method in class org.torproject.metrics.hidserv.ExtrapolatedHidServStats
 
setFractionDirOnionsSeen(double) - Method in class org.torproject.metrics.hidserv.ComputedNetworkFractions
 
setFractionDirOnionsSeen(double) - Method in class org.torproject.metrics.hidserv.ExtrapolatedHidServStats
 
setFractionRendRelayedCells(double) - Method in class org.torproject.metrics.hidserv.ComputedNetworkFractions
 
setFractionRendRelayedCells(double) - Method in class org.torproject.metrics.hidserv.ExtrapolatedHidServStats
 
setRendRelayedCells(long) - Method in class org.torproject.metrics.hidserv.ReportedHidServStats
 
setStatsIntervalSeconds(long) - Method in class org.torproject.metrics.hidserv.ReportedHidServStats
 
Simulate - Class in org.torproject.metrics.hidserv
 
Simulate() - Constructor for class org.torproject.metrics.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.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.graphs
Checks request parameters passed to generate tables.
TableParameterChecker() - Constructor for class org.torproject.metrics.web.graphs.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
 

W

writeFiles() - Method in class org.torproject.ernie.cron.network.ConsensusStatsFileHandler
Aggregates the raw observations on relay and bridge numbers and writes both raw and aggregate observations to disk.
writeParseHistory() - Method in class org.torproject.metrics.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.
A B C D E F G H I L M N O P R S T W 
Skip navigation links
© 2017 The Tor Project