A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages

A

ACTIVATED - Static variable in class org.torproject.metrics.collector.cron.Scheduler
 
add(LogMetadata) - Method in class org.torproject.metrics.collector.webstats.LogFileMap
Add log metadata to the map structure.
Annotation - Enum in org.torproject.metrics.collector.conf
This enum contains all currently valid descriptor annotations.
annotationBytes - Variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
applies(Descriptor) - Method in class org.torproject.metrics.collector.sync.ProcessCriterium
Only process descriptors with the appropriate type.
applies(T) - Method in interface org.torproject.metrics.collector.sync.Criterium
Determine, if the given object of type T fulfills the Criterium.
ArchiveReader - Class in org.torproject.metrics.collector.relaydescs
Read in all files in a given directory and pass buffered readers of them to the relay descriptor parser.
ArchiveWriter - Class in org.torproject.metrics.collector.relaydescs
 
ArchiveWriter(Configuration) - Constructor for class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Initialize an archive writer with a given configuration.

B

BandwidthFile - org.torproject.metrics.collector.conf.Annotation
 
BandwidthFilePersistence - Class in org.torproject.metrics.collector.persist
 
BandwidthFilePersistence(BandwidthFile) - Constructor for class org.torproject.metrics.collector.persist.BandwidthFilePersistence
 
BridgedbMetrics - org.torproject.metrics.collector.conf.Annotation
 
BridgedbMetricsActivated - org.torproject.metrics.collector.conf.Key
 
BridgedbMetricsLocalOrigins - org.torproject.metrics.collector.conf.Key
 
BridgedbMetricsOffsetMinutes - org.torproject.metrics.collector.conf.Key
 
BridgedbMetricsPeriodMinutes - org.torproject.metrics.collector.conf.Key
 
BridgedbMetricsPersistence - Class in org.torproject.metrics.collector.persist
 
BridgedbMetricsPersistence(BridgedbMetrics) - Constructor for class org.torproject.metrics.collector.persist.BridgedbMetricsPersistence
 
BridgedbMetricsProcessor - Class in org.torproject.metrics.collector.bridgedb
 
BridgedbMetricsProcessor(Configuration) - Constructor for class org.torproject.metrics.collector.bridgedb.BridgedbMetricsProcessor
Initialize this class with the given configuration.
BridgedbMetricsSources - org.torproject.metrics.collector.conf.Key
 
BridgedbMetricsSyncOrigins - org.torproject.metrics.collector.conf.Key
 
BRIDGEDBSTATS - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
BridgeDescriptorMappingsLimit - org.torproject.metrics.collector.conf.Key
 
BRIDGEDESCS - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
BridgedescsActivated - org.torproject.metrics.collector.conf.Key
 
BridgedescsOffsetMinutes - org.torproject.metrics.collector.conf.Key
 
BridgedescsPeriodMinutes - org.torproject.metrics.collector.conf.Key
 
BridgeExtraInfo - org.torproject.metrics.collector.conf.Annotation
 
BridgeExtraInfoDescriptorPersistence - Class in org.torproject.metrics.collector.persist
 
BridgeExtraInfoDescriptorPersistence(byte[], String, String, String) - Constructor for class org.torproject.metrics.collector.persist.BridgeExtraInfoDescriptorPersistence
Construct a persistence instance from raw descriptor bytes.
BridgeExtraInfoDescriptorPersistence(BridgeExtraInfoDescriptor, long) - Constructor for class org.torproject.metrics.collector.persist.BridgeExtraInfoDescriptorPersistence
Construct a persistence instance from a previously parsed descriptor.
BridgeLocalOrigins - org.torproject.metrics.collector.conf.Key
 
BridgeNetworkStatusPersistence - Class in org.torproject.metrics.collector.persist
 
BridgeNetworkStatusPersistence(byte[], String, String) - Constructor for class org.torproject.metrics.collector.persist.BridgeNetworkStatusPersistence
Construct a persistence instance from raw descriptor bytes.
BridgeNetworkStatusPersistence(BridgeNetworkStatus, String) - Constructor for class org.torproject.metrics.collector.persist.BridgeNetworkStatusPersistence
Construct a persistence instance from a previously parsed descriptor.
BridgePoolAssignment - org.torproject.metrics.collector.conf.Annotation
 
BridgePoolAssignmentPersistence - Class in org.torproject.metrics.collector.persist
 
BridgePoolAssignmentPersistence(BridgePoolAssignment) - Constructor for class org.torproject.metrics.collector.persist.BridgePoolAssignmentPersistence
 
BRIDGEPOOLASSIGNMENTS - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
BridgePoolAssignmentsActivated - org.torproject.metrics.collector.conf.Key
 
BridgePoolAssignmentsLocalOrigins - org.torproject.metrics.collector.conf.Key
 
BridgePoolAssignmentsOffsetMinutes - org.torproject.metrics.collector.conf.Key
 
BridgePoolAssignmentsPeriodMinutes - org.torproject.metrics.collector.conf.Key
 
BridgePoolAssignmentsProcessor - Class in org.torproject.metrics.collector.bridgepools
 
BridgePoolAssignmentsProcessor(Configuration) - Constructor for class org.torproject.metrics.collector.bridgepools.BridgePoolAssignmentsProcessor
Initialize this class with the given configuration.
BridgePoolAssignmentsSources - org.torproject.metrics.collector.conf.Key
 
BridgePoolAssignmentsSyncOrigins - org.torproject.metrics.collector.conf.Key
 
BridgeServer - org.torproject.metrics.collector.conf.Annotation
 
BridgeServerDescriptorPersistence - Class in org.torproject.metrics.collector.persist
 
BridgeServerDescriptorPersistence(byte[], String, String, String) - Constructor for class org.torproject.metrics.collector.persist.BridgeServerDescriptorPersistence
Construct a persistence instance from raw descriptor bytes.
BridgeServerDescriptorPersistence(BridgeServerDescriptor, long) - Constructor for class org.torproject.metrics.collector.persist.BridgeServerDescriptorPersistence
Construct a persistence instance from a previously parsed descriptor.
BridgeSources - org.torproject.metrics.collector.conf.Key
 
BridgeSyncOrigins - org.torproject.metrics.collector.conf.Key
 
bytes() - Method in enum org.torproject.metrics.collector.conf.Annotation
 
bytesFor(String, long) - Static method in class org.torproject.metrics.collector.webstats.SanitizeWeblogs
 
BZ2 - org.torproject.metrics.collector.webstats.FileType
 

C

Cache - org.torproject.metrics.collector.conf.SourceType
 
CachedRelayDescriptorReader - Class in org.torproject.metrics.collector.relaydescs
Parses all descriptors in local directory cacheddesc/ and sorts them into directory structure in directory-archive/.
call() - Method in class org.torproject.metrics.collector.cron.CollecTorMain
Wrapper for run.
Cert - org.torproject.metrics.collector.conf.Annotation
 
check() - Method in class org.torproject.metrics.collector.relaydescs.ReferenceChecker
Checks references between descriptors, and if too many referenced descriptors are missing, puts out a warning to the logs.
checkAvailableSpace(Path) - Static method in class org.torproject.metrics.collector.cron.CollecTorMain
Checks the available space for the storage the given path is located on and logs a warning, if 200 MiB or less are available, and otherwise logs available space in TRACE level.
cleanDirectory() - Method in class org.torproject.metrics.collector.sync.SyncPersistence
Cleans the directory in RecentPath after storing descriptors.
cleanDirectory(Path) - Static method in class org.torproject.metrics.collector.persist.PersistenceUtils
Move temporary files to their final location.
cleanDirectory(Path, long) - Static method in class org.torproject.metrics.collector.persist.PersistenceUtils
Clean up the given directory by deleting files that are older than the given cut-off timestamp, and by moving temporary files to their final location.
cleanDirectory(Path, long, Path) - Static method in class org.torproject.metrics.collector.persist.PersistenceUtils
Clean up the given directory, excluding the given subdirectory, by deleting files that are older than the given cut-off timestamp, and by moving temporary files to their final location.
cleanUpDirectories() - Method in class org.torproject.metrics.collector.bridgepools.BridgePoolAssignmentsProcessor
Delete all files from the rsync (out) directory that have not been modified in the last three days (seven weeks).
cleanUpDirectories() - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Delete all files from the rsync (out) directory that have not been modified in the last three days (seven weeks), and remove the .tmp extension from newly written files.
clear() - Method in class org.torproject.metrics.collector.conf.Configuration
clears all properties.
CollecTorMain - Class in org.torproject.metrics.collector.cron
 
CollecTorMain(Configuration) - Constructor for class org.torproject.metrics.collector.cron.CollecTorMain
 
compress(byte[]) - Method in enum org.torproject.metrics.collector.webstats.FileType
Compresses the given bytes in memory and returns the compressed bytes.
compress(OutputStream) - Method in enum org.torproject.metrics.collector.webstats.FileType
Compresses the given InputStream and returns an OutputStream.
COMPRESSION - Static variable in class org.torproject.metrics.collector.persist.WebServerAccessLogPersistence
 
CompressRelayDescriptorDownloads - org.torproject.metrics.collector.conf.Key
 
computeDescriptorDigest(byte[], String, String) - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeDescriptor
 
computeInitialDelayMillis(long, long, long) - Static method in class org.torproject.metrics.collector.cron.Scheduler
 
computeSha256Base64Digest(byte[], String, String) - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeDescriptor
 
CONF_FILE - Static variable in class org.torproject.metrics.collector.Main
 
config - Variable in class org.torproject.metrics.collector.cron.CollecTorMain
 
Configuration - Class in org.torproject.metrics.collector.conf
Initialize configuration with defaults from collector.properties, unless a configuration properties file is available.
Configuration() - Constructor for class org.torproject.metrics.collector.conf.Configuration
 
ConfigurationException - Exception in org.torproject.metrics.collector.conf
 
ConfigurationException() - Constructor for exception org.torproject.metrics.collector.conf.ConfigurationException
 
ConfigurationException(String) - Constructor for exception org.torproject.metrics.collector.conf.ConfigurationException
 
ConfigurationException(String, Exception) - Constructor for exception org.torproject.metrics.collector.conf.ConfigurationException
 
Consensus - org.torproject.metrics.collector.conf.Annotation
 
ConsensusPersistence - Class in org.torproject.metrics.collector.persist
 
ConsensusPersistence(RelayNetworkStatusConsensus, long) - Constructor for class org.torproject.metrics.collector.persist.ConsensusPersistence
Initialize with appropriate annotation and given parameters.
create(Path) - Static method in class org.torproject.metrics.collector.webstats.LogMetadata
Only way to create a LogMetadata object from a given log path.
createIndexerTask(Path) - Method in class org.torproject.metrics.collector.indexer.CreateIndexJson
Create an indexer task for indexing the given file.
CreateIndexJson - Class in org.torproject.metrics.collector.indexer
Create an index file called index.json containing metadata of all files in the indexed/ directory and update the htdocs/ directory to contain all files to be served via the web server.
CreateIndexJson(Configuration) - Constructor for class org.torproject.metrics.collector.indexer.CreateIndexJson
Initialize this class with the given configuration.
Criterium<T> - Interface in org.torproject.metrics.collector.sync
Interface for decisions to be made in the sync-process.

D

DASH - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
date - Variable in class org.torproject.metrics.collector.webstats.LogMetadata
The date the log entries were created.
dateTime(long) - Static method in class org.torproject.metrics.collector.persist.PersistenceUtils
Return all date-time as string.
dateTime(Date) - Static method in class org.torproject.metrics.collector.persist.PersistenceUtils
Return all date-time as string.
dateTimeParts(long) - Static method in class org.torproject.metrics.collector.persist.PersistenceUtils
Return all date-time parts as array.
dateTimeParts(Date) - Static method in class org.torproject.metrics.collector.persist.PersistenceUtils
Return all date-time parts as array.
decompress(byte[]) - Method in enum org.torproject.metrics.collector.webstats.FileType
Decompresses the given bytes in memory and returns the decompressed bytes.
decompress(InputStream) - Method in enum org.torproject.metrics.collector.webstats.FileType
Decompresses the given InputStream and returns an OutputStream.
decompressedByteStream() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
desc - Variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
descriptorBytes - Variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
DescriptorPersistence<T extends org.torproject.descriptor.Descriptor> - Class in org.torproject.metrics.collector.persist
 
DescriptorPersistence(byte[]) - Constructor for class org.torproject.metrics.collector.persist.DescriptorPersistence
 
DescriptorPersistence(T, byte[]) - Constructor for class org.torproject.metrics.collector.persist.DescriptorPersistence
Initializes the paths for storing descriptors of type T.
DirectoryAuthoritiesAddresses - org.torproject.metrics.collector.conf.Key
 
DirectoryAuthoritiesFingerprintsForVotes - org.torproject.metrics.collector.conf.Key
 
DirectoryKeyCertificatePersistence - Class in org.torproject.metrics.collector.persist
 
DirectoryKeyCertificatePersistence(DirectoryKeyCertificate) - Constructor for class org.torproject.metrics.collector.persist.DirectoryKeyCertificatePersistence
 
DOT - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
DownloadAllExtraInfoDescriptors - org.torproject.metrics.collector.conf.Key
 
DownloadAllServerDescriptors - org.torproject.metrics.collector.conf.Key
 
downloadDescriptors() - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorDownloader
Downloads missing descriptors that we think might still be available on the directory authorities as well as all server and extra-info descriptors once per day.
Downloader - Class in org.torproject.metrics.collector.downloader
Utility class for downloading resources from HTTP servers.
Downloader() - Constructor for class org.torproject.metrics.collector.downloader.Downloader
 
downloadFromHttpServer(URL) - Static method in class org.torproject.metrics.collector.downloader.Downloader
Download the given URL from an HTTP server and return downloaded bytes.
downloadFromHttpServer(URL, boolean) - Static method in class org.torproject.metrics.collector.downloader.Downloader
Download the given URL from an HTTP server, possibly inflate the response, and return downloaded bytes.

E

EMPTY_ANNOTATION - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
equals(Object) - Method in class org.torproject.metrics.collector.webstats.LogMetadata
 
equals(Object) - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
ExitList - org.torproject.metrics.collector.conf.Annotation
 
ExitListDownloader - Class in org.torproject.metrics.collector.exitlists
 
ExitListDownloader(Configuration) - Constructor for class org.torproject.metrics.collector.exitlists.ExitListDownloader
Instantiate the exit-lists module using the given configuration.
ExitlistPersistence - Class in org.torproject.metrics.collector.persist
 
ExitlistPersistence(ExitList, long) - Constructor for class org.torproject.metrics.collector.persist.ExitlistPersistence
 
ExitlistsActivated - org.torproject.metrics.collector.conf.Key
 
ExitlistsOffsetMinutes - org.torproject.metrics.collector.conf.Key
 
ExitlistSources - org.torproject.metrics.collector.conf.Key
 
ExitlistsPeriodMinutes - org.torproject.metrics.collector.conf.Key
 
ExitlistSyncOrigins - org.torproject.metrics.collector.conf.Key
 
ExitlistUrl - org.torproject.metrics.collector.conf.Key
 
EXTRA_INFO - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
EXTRA_INFOS - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
ExtraInfo - org.torproject.metrics.collector.conf.Annotation
 
ExtraInfoPersistence - Class in org.torproject.metrics.collector.persist
 
ExtraInfoPersistence(RelayExtraInfoDescriptor, long) - Constructor for class org.torproject.metrics.collector.persist.ExtraInfoPersistence
 

F

FIELDSEP - Static variable in class org.torproject.metrics.collector.conf.Configuration
 
filenamePattern - Static variable in class org.torproject.metrics.collector.webstats.LogMetadata
The mandatory web server log descriptor file name pattern.
filenamePattern - Static variable in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
The mandatory web server log descriptor file name pattern.
fileType - Variable in class org.torproject.metrics.collector.webstats.LogMetadata
The log's compression type.
FileType - Enum in org.torproject.metrics.collector.webstats
These enums provide compression functionality.
findType(String) - Static method in enum org.torproject.metrics.collector.webstats.FileType
Returns valueOf or the default enum FileType.PLAIN, i.e., this method doesn't throw any exceptions and allways returns a valid enum.

G

getAnnotations() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
getBool(Key) - Method in class org.torproject.metrics.collector.conf.Configuration
Returns a boolean property (case insensitiv), e.g.
getCompressionType() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
getDate() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
getDateString() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
Only used internally during sanitization.
getDescriptorDigest() - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeExtraInfoDescriptor
 
getDescriptorDigest() - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeServerDescriptor
 
getDescriptorFile() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
getInstance() - Static method in class org.torproject.metrics.collector.cron.Scheduler
 
getInt(Key) - Method in class org.torproject.metrics.collector.conf.Configuration
Parse an integer property and translate the String "inf" into Integer.MAX_VALUE.
getIp() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
getLogDate() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
getLong(Key) - Method in class org.torproject.metrics.collector.conf.Configuration
Parse a long property.
getMethod() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
getPath(Key) - Method in class org.torproject.metrics.collector.conf.Configuration
Returns a Path property, e.g.
getPhysicalHost() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
getPropertiesCopy() - Method in class org.torproject.metrics.collector.conf.Configuration
Return a copy of all properties.
getProperty(String) - Method in class org.torproject.metrics.collector.conf.Configuration
Retrieves the value for key.
getProperty(String, String) - Method in class org.torproject.metrics.collector.conf.Configuration
Retrieves the value for key returning a default for non-existing keys.
getProtocol() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
getPublishedString() - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeExtraInfoDescriptor
 
getPublishedString() - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeNetworkStatus
 
getPublishedString() - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeServerDescriptor
 
getRawDescriptorBytes() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
getRawDescriptorLength() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
getRecentPath() - Method in class org.torproject.metrics.collector.persist.DescriptorPersistence
Return the final location for 'recent' descriptors.
getRequest() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
getResponse() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
getSize() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
getSourceTypeSet(Key) - Method in class org.torproject.metrics.collector.conf.Configuration
Returns a SourceType as List, e.g.
getStoragePath() - Method in class org.torproject.metrics.collector.persist.DescriptorPersistence
Return the final storage location inside storage.
getStringArray(Key) - Method in class org.torproject.metrics.collector.conf.Configuration
Returns String[] from a property.
getUnrecognizedLines() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
getUrl(Key) - Method in class org.torproject.metrics.collector.conf.Configuration
Returns a URL property, e.g.
getUrlArray(Key) - Method in class org.torproject.metrics.collector.conf.Configuration
Returns URL[] from a property.
getVirtualHost() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
GZ - org.torproject.metrics.collector.webstats.FileType
 

H

has(String) - Static method in enum org.torproject.metrics.collector.conf.Key
Verifies, if the given string corresponds to an enum value.
hashCode() - Method in class org.torproject.metrics.collector.webstats.LogMetadata
 
hashCode() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
haveParsedConsensus(String, Set<String>, Set<String>) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorDownloader
We have parsed a consensus.
haveParsedExtraInfoDescriptor(String, String, String) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorDownloader
We have parsed an extra-info descriptor.
haveParsedMicrodescConsensus(String, Set<String>) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorDownloader
We have parsed a microdesc consensus.
haveParsedMicrodescriptor(String) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorDownloader
We have parsed a microdescriptor.
haveParsedServerDescriptor(String, String, String, String) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorDownloader
We have parsed a server descriptor.
haveParsedVote(String, String, Set<String>) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorDownloader
We have parsed a vote.
HtdocsPath - org.torproject.metrics.collector.conf.Key
 

I

IndexedPath - org.torproject.metrics.collector.conf.Key
 
inputStream(InputStream) - Method in enum org.torproject.metrics.collector.webstats.FileType
Return the appropriate input stream.
InstanceBaseUrl - org.torproject.metrics.collector.conf.Key
 
intermediateStats(String) - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Compiles a message with statistics on stored descriptors by type for later inclusion in the log and resets counters.
isValid() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 

J

JSON - org.torproject.metrics.collector.webstats.FileType
 

K

KeepDirectoryArchiveImportHistory - org.torproject.metrics.collector.conf.Key
 
Key - Enum in org.torproject.metrics.collector.conf
Enum containing all the properties keys of the configuration.
keyClass() - Method in enum org.torproject.metrics.collector.conf.Key
 

L

load(InputStream) - Method in class org.torproject.metrics.collector.conf.Configuration
Loads properties from the given stream.
loadAndCheckConfiguration(Path) - Method in class org.torproject.metrics.collector.conf.Configuration
Load the configuration from the given path.
Local - org.torproject.metrics.collector.conf.SourceType
 
LogFileMap - Class in org.torproject.metrics.collector.webstats
Processes the given path and stores metadata for log files.
LogFileMap(Path) - Constructor for class org.torproject.metrics.collector.webstats.LogFileMap
The map to keep track of the logfiles by virtual host, physical host, and date.
logLines() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
Returns a stream of all valid log lines.
LogMetadata - Class in org.torproject.metrics.collector.webstats
 

M

main(String[]) - Static method in class org.torproject.metrics.collector.Main
At most one argument.
Main - Class in org.torproject.metrics.collector
Main class for starting a CollecTor instance.
Main() - Constructor for class org.torproject.metrics.collector.Main
 
makeLine(String) - Static method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
Creates a Line from a string.
mapPathDescriptors - Variable in class org.torproject.metrics.collector.cron.CollecTorMain
 
MARKER - Static variable in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
The log's name should include this string.
merge(Configuration, String, Map<String, Class<? extends Descriptor>>) - Method in class org.torproject.metrics.collector.sync.SyncManager
Merges the synced files to recent and out storage.
MicroConsensus - org.torproject.metrics.collector.conf.Annotation
 
MicroConsensusPersistence - Class in org.torproject.metrics.collector.persist
 
MicroConsensusPersistence(RelayNetworkStatusConsensus, long) - Constructor for class org.torproject.metrics.collector.persist.MicroConsensusPersistence
Initialize with appropriate annotation and given parameters.
MICRODESC - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
Microdescriptor - org.torproject.metrics.collector.conf.Annotation
 
MicrodescriptorPersistence - Class in org.torproject.metrics.collector.persist
 
MicrodescriptorPersistence(Microdescriptor, long, String, String) - Constructor for class org.torproject.metrics.collector.persist.MicrodescriptorPersistence
 
MICRODESCS - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
module() - Method in class org.torproject.metrics.collector.bridgedb.BridgedbMetricsProcessor
Return the module identifier.
module() - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgesWriter
 
module() - Method in class org.torproject.metrics.collector.bridgepools.BridgePoolAssignmentsProcessor
Return the module identifier.
module() - Method in class org.torproject.metrics.collector.cron.CollecTorMain
Returns the module name for logging purposes.
module() - Method in class org.torproject.metrics.collector.exitlists.ExitListDownloader
 
module() - Method in class org.torproject.metrics.collector.indexer.CreateIndexJson
 
module() - Method in class org.torproject.metrics.collector.onionperf.OnionPerfDownloader
 
module() - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
 
module() - Method in class org.torproject.metrics.collector.snowflake.SnowflakeStatsDownloader
 
module() - Method in class org.torproject.metrics.collector.webstats.SanitizeWeblogs
 

N

newThread(Runnable) - Method in class org.torproject.metrics.collector.cron.Scheduler
Provide a nice name for debugging and log thread creation.

O

obtainBuildRevision() - Method in class org.torproject.metrics.collector.indexer.CreateIndexJson
Obtain and return the build revision string that was generated during the build process with git rev-parse --short HEAD and written to collector.buildrevision.properties, or return null if the build revision string cannot be obtained.
OFFSETMIN - Static variable in class org.torproject.metrics.collector.cron.Scheduler
 
OnionPerf - org.torproject.metrics.collector.conf.Annotation
 
OnionPerfActivated - org.torproject.metrics.collector.conf.Key
 
OnionPerfDownloader - Class in org.torproject.metrics.collector.onionperf
Download OnionPerf files from OnionPerf hosts.
OnionPerfDownloader(Configuration) - Constructor for class org.torproject.metrics.collector.onionperf.OnionPerfDownloader
Instantiate the OnionPerf module using the given configuration.
OnionPerfHosts - org.torproject.metrics.collector.conf.Key
 
OnionPerfOffsetMinutes - org.torproject.metrics.collector.conf.Key
 
OnionPerfPeriodMinutes - org.torproject.metrics.collector.conf.Key
 
OnionPerfPersistence - Class in org.torproject.metrics.collector.persist
 
OnionPerfPersistence(TorperfResult) - Constructor for class org.torproject.metrics.collector.persist.OnionPerfPersistence
 
OnionPerfSources - org.torproject.metrics.collector.conf.Key
 
OnionPerfSyncOrigins - org.torproject.metrics.collector.conf.Key
 
org.torproject.metrics.collector - package org.torproject.metrics.collector
 
org.torproject.metrics.collector.bridgedb - package org.torproject.metrics.collector.bridgedb
 
org.torproject.metrics.collector.bridgedescs - package org.torproject.metrics.collector.bridgedescs
 
org.torproject.metrics.collector.bridgepools - package org.torproject.metrics.collector.bridgepools
 
org.torproject.metrics.collector.conf - package org.torproject.metrics.collector.conf
 
org.torproject.metrics.collector.cron - package org.torproject.metrics.collector.cron
 
org.torproject.metrics.collector.downloader - package org.torproject.metrics.collector.downloader
 
org.torproject.metrics.collector.exitlists - package org.torproject.metrics.collector.exitlists
 
org.torproject.metrics.collector.indexer - package org.torproject.metrics.collector.indexer
 
org.torproject.metrics.collector.onionperf - package org.torproject.metrics.collector.onionperf
 
org.torproject.metrics.collector.persist - package org.torproject.metrics.collector.persist
This package contains decorating classes for descriptors that simply determine the two storage paths based on the descriptor and further parameters like acquisition time.
org.torproject.metrics.collector.relaydescs - package org.torproject.metrics.collector.relaydescs
 
org.torproject.metrics.collector.snowflake - package org.torproject.metrics.collector.snowflake
 
org.torproject.metrics.collector.sync - package org.torproject.metrics.collector.sync
This package coordinates syncing and merging the fetched data.
org.torproject.metrics.collector.webstats - package org.torproject.metrics.collector.webstats
 
originalBytes - Variable in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeDescriptor
 
OutputPath - org.torproject.metrics.collector.conf.Key
 
outputStream(OutputStream) - Method in enum org.torproject.metrics.collector.webstats.FileType
Return the appropriate output stream.

P

parse(byte[], File) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorParser
Parses the given bytes to find out the contained descriptor type, forwards them to the archive writer to store them to disk, and tells the relay descriptor downloader and archive reader about the contained descriptor and all referenced descriptors.
parseMasterKeyEd25519FromIdentityEd25519(String) - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeDescriptor
 
path - Variable in class org.torproject.metrics.collector.webstats.LogMetadata
The path of the log file to be imported.
PERIODMIN - Static variable in class org.torproject.metrics.collector.cron.Scheduler
 
PersistenceUtils - Class in org.torproject.metrics.collector.persist
 
PersistenceUtils() - Constructor for class org.torproject.metrics.collector.persist.PersistenceUtils
 
physicalHost - Variable in class org.torproject.metrics.collector.webstats.LogMetadata
The name of the physical host.
PLAIN - org.torproject.metrics.collector.webstats.FileType
 
ProcessCriterium - Class in org.torproject.metrics.collector.sync
Should a descriptor file be processed during sync.
ProcessCriterium(Class<? extends Descriptor>) - Constructor for class org.torproject.metrics.collector.sync.ProcessCriterium
 
publishedString - Variable in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeDescriptor
 
putAll(Properties) - Method in class org.torproject.metrics.collector.conf.Configuration
Add all given properties.

R

readDescriptors() - Method in class org.torproject.metrics.collector.relaydescs.ArchiveReader
Reads all descriptors from the given directory, possibly using a parse history file, and passes them to the given descriptor parser.
readDescriptors() - Method in class org.torproject.metrics.collector.relaydescs.CachedRelayDescriptorReader
Reads cached-descriptor files from one or more directories and passes them to the given descriptor parser.
readProcessedFiles(Path) - Method in class org.torproject.metrics.collector.cron.CollecTorMain
Read file names of processed files from the given state file.
recentPath - Variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
RecentPath - org.torproject.metrics.collector.conf.Key
 
ReferenceChecker - Class in org.torproject.metrics.collector.relaydescs
 
ReferenceChecker(File, File, File) - Constructor for class org.torproject.metrics.collector.relaydescs.ReferenceChecker
Initializes a reference checker using the given file paths.
RelayCacheOrigins - org.torproject.metrics.collector.conf.Key
 
RelayDescriptorDownloader - Class in org.torproject.metrics.collector.relaydescs
Downloads relay descriptors from the directory authorities via HTTP.
RelayDescriptorDownloader(RelayDescriptorParser, String[], String[], boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Constructor for class org.torproject.metrics.collector.relaydescs.RelayDescriptorDownloader
Initializes this class, including reading in missing descriptors from stats/missing-relay-descriptors and the times when we last downloaded all server and extra-info descriptors from stats/last-downloaded-all-descriptors.
RelayDescriptorParser - Class in org.torproject.metrics.collector.relaydescs
Parses relay descriptors including network status consensuses and votes, server and extra-info descriptors, and passes the results to the stats handlers, to the archive writer, or to the relay descriptor downloader.
RelayDescriptorParser(ArchiveWriter) - Constructor for class org.torproject.metrics.collector.relaydescs.RelayDescriptorParser
Initializes this class.
RELAYDESCS - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
RelaydescsActivated - org.torproject.metrics.collector.conf.Key
 
RelaydescsOffsetMinutes - org.torproject.metrics.collector.conf.Key
 
RelaydescsPeriodMinutes - org.torproject.metrics.collector.conf.Key
 
RelayLocalOrigins - org.torproject.metrics.collector.conf.Key
 
RelaySources - org.torproject.metrics.collector.conf.Key
 
RelaySyncOrigins - org.torproject.metrics.collector.conf.Key
 
Remote - org.torproject.metrics.collector.conf.SourceType
 
ReplaceIpAddressesWithHashes - org.torproject.metrics.collector.conf.Key
 
run() - Method in class org.torproject.metrics.collector.cron.CollecTorMain
Log all errors preventing successful completion of the module.
run() - Method in class org.torproject.metrics.collector.cron.ShutdownHook
 
RunOnce - org.torproject.metrics.collector.conf.Key
 

S

sanitizeAndStoreExtraInfoDescriptor(byte[]) - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgesWriter
Sanitizes an extra-info descriptor and writes it to disk.
sanitizeAndStoreNetworkStatus(byte[], String, String) - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgesWriter
Sanitizes a network status and writes it to disk.
sanitizeAndStoreServerDescriptor(byte[]) - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgesWriter
Sanitizes a bridge server descriptor and writes it to disk.
SanitizedBridgeDescriptor - Class in org.torproject.metrics.collector.bridgedescs
 
SanitizedBridgeExtraInfoDescriptor - Class in org.torproject.metrics.collector.bridgedescs
 
SanitizedBridgeNetworkStatus - Class in org.torproject.metrics.collector.bridgedescs
 
SanitizedBridgeServerDescriptor - Class in org.torproject.metrics.collector.bridgedescs
 
SanitizedBridgesWriter - Class in org.torproject.metrics.collector.bridgedescs
Sanitizes bridge descriptors, i.e., removes all possibly sensitive information from them, and writes them to a local directory structure.
SanitizedBridgesWriter(Configuration) - Constructor for class org.torproject.metrics.collector.bridgedescs.SanitizedBridgesWriter
Initialize configuration.
sanitizedBytes - Variable in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeDescriptor
 
SanitizeWeblogs - Class in org.torproject.metrics.collector.webstats
This module processes web-logs for CollecTor according to the weblog sanitation specification published on metrics.torproject.org.
SanitizeWeblogs(Configuration) - Constructor for class org.torproject.metrics.collector.webstats.SanitizeWeblogs
Possibly privacy impacting data is replaced by dummy data producing a log-file (or files) that confirm(s) to Apache's Combined Log Format.
scheduleModuleRuns(Map<Key, Class<? extends CollecTorMain>>, Configuration) - Method in class org.torproject.metrics.collector.cron.Scheduler
Schedule all classes given according to the parameters in the configuration and return whether the caller should wait for completion.
Scheduler - Class in org.torproject.metrics.collector.cron
Scheduler that starts the modules configured in collector.properties.
sensitivePartsSanitizer - Variable in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgeDescriptor
 
SensitivePartsSanitizer - Class in org.torproject.metrics.collector.bridgedescs
 
SEP - Static variable in class org.torproject.metrics.collector.persist.WebServerAccessLogPersistence
 
SEP - Static variable in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
Logfile name parts separator.
Server - org.torproject.metrics.collector.conf.Annotation
 
SERVERDESC - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
ServerDescriptorPersistence - Class in org.torproject.metrics.collector.persist
 
ServerDescriptorPersistence(RelayServerDescriptor, long) - Constructor for class org.torproject.metrics.collector.persist.ServerDescriptorPersistence
 
SERVERDESCS - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
setArchiveReader(ArchiveReader) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorParser
 
setIp(String) - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
Only used internally during sanitization.
setProperty(String, String) - Method in class org.torproject.metrics.collector.conf.Configuration
Sets the value for key.
setRawDescriptorBytes(byte[]) - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
 
setRelayDescriptorDownloader(RelayDescriptorDownloader) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorParser
 
setRequest(String) - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
Only used internally during sanitization.
ShutdownGraceWaitMinutes - org.torproject.metrics.collector.conf.Key
 
ShutdownHook - Class in org.torproject.metrics.collector.cron
Scheduler that starts the modules configured in collector.properties.
ShutdownHook() - Constructor for class org.torproject.metrics.collector.cron.ShutdownHook
Names the shutdown thread for debugging purposes.
shutdownScheduler() - Method in class org.torproject.metrics.collector.cron.Scheduler
Try to shutdown smoothly, i.e., wait for running tasks to terminate.
size() - Method in class org.torproject.metrics.collector.conf.Configuration
Count of properties.
SnowflakeStats - org.torproject.metrics.collector.conf.Annotation
 
SnowflakeStatsActivated - org.torproject.metrics.collector.conf.Key
 
SnowflakeStatsDownloader - Class in org.torproject.metrics.collector.snowflake
 
SnowflakeStatsDownloader(Configuration) - Constructor for class org.torproject.metrics.collector.snowflake.SnowflakeStatsDownloader
Instantiate the snowflake-stats module using the given configuration.
SnowflakeStatsOffsetMinutes - org.torproject.metrics.collector.conf.Key
 
SnowflakeStatsPeriodMinutes - org.torproject.metrics.collector.conf.Key
 
SnowflakeStatsPersistence - Class in org.torproject.metrics.collector.persist
 
SnowflakeStatsPersistence(SnowflakeStats) - Constructor for class org.torproject.metrics.collector.persist.SnowflakeStatsPersistence
 
SnowflakeStatsSources - org.torproject.metrics.collector.conf.Key
 
SnowflakeStatsSyncOrigins - org.torproject.metrics.collector.conf.Key
 
SnowflakeStatsUrl - org.torproject.metrics.collector.conf.Key
 
SOURCES - Static variable in class org.torproject.metrics.collector.cron.CollecTorMain
 
SourceType - Enum in org.torproject.metrics.collector.conf
 
startProcessing() - Method in class org.torproject.metrics.collector.bridgedb.BridgedbMetricsProcessor
Start processing files, which includes reading BridgeDB statistics files from disk, possibly decompressing them and splitting them by date, and writing them back to disk.
startProcessing() - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgesWriter
 
startProcessing() - Method in class org.torproject.metrics.collector.bridgepools.BridgePoolAssignmentsProcessor
Start processing files, which includes reading original, not-yet-sanitized bridge pool assignment files from disk, splitting them into bridge pool assignment descriptors, sanitizing contained fingerprints, and writing sanitized bridge pool assignments to disk.
startProcessing() - Method in class org.torproject.metrics.collector.cron.CollecTorMain
Module specific code goes here.
startProcessing() - Method in class org.torproject.metrics.collector.exitlists.ExitListDownloader
 
startProcessing() - Method in class org.torproject.metrics.collector.indexer.CreateIndexJson
Run the indexer by (1) adding new files from indexed/ to the index, (2) adding old files from htdocs/ for which only links exist to the index, (3) scheduling new tasks and updating links in htdocs/ to reflect what's contained in the in-memory index, and (4) writing new uncompressed and compressed index.json files to disk.
startProcessing() - Method in class org.torproject.metrics.collector.onionperf.OnionPerfDownloader
 
startProcessing() - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
 
startProcessing() - Method in class org.torproject.metrics.collector.snowflake.SnowflakeStatsDownloader
 
startProcessing() - Method in class org.torproject.metrics.collector.webstats.SanitizeWeblogs
 
startProcessing(Instant) - Method in class org.torproject.metrics.collector.indexer.CreateIndexJson
Helper method to CreateIndexJson.startProcessing() that accepts the current execution time and which is used by tests.
StatsPath - org.torproject.metrics.collector.conf.Key
 
Status - org.torproject.metrics.collector.conf.Annotation
 
stayAlive() - Method in class org.torproject.metrics.collector.cron.ShutdownHook
Stay alive until the shutdown thread gets run.
storagePath - Variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
storeAll(String, String) - Method in class org.torproject.metrics.collector.persist.DescriptorPersistence
Stores the descriptor to all locations.
storeAll(String, String) - Method in class org.torproject.metrics.collector.persist.WebServerAccessLogPersistence
Logs are not appended.
storeAll(String, String, StandardOpenOption, StandardOpenOption) - Method in class org.torproject.metrics.collector.persist.DescriptorPersistence
Stores the descriptor to all locations.
storeAll(Path, Path) - Method in class org.torproject.metrics.collector.persist.DescriptorPersistence
Stores the descriptor to all locations.
storeCertificate(byte[], String, long) - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Stores a key certificate to disk.
storeConsensus(byte[], long, SortedSet<String>, SortedSet<String>) - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Stores a consensus to disk and adds all referenced votes and server descriptors to the list of missing descriptors.
storeDesc(Descriptor, long) - Method in class org.torproject.metrics.collector.sync.SyncPersistence
Stores a descriptor in main storage and recent.
storeDescs(Iterable<Descriptor>, long) - Method in class org.torproject.metrics.collector.sync.SyncPersistence
Stores descriptors in main storage and recent.
storeExtraInfoDescriptor(byte[], String, long) - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Stores an extra-info descriptor to disk.
storeMicrodescConsensus(byte[], long, SortedSet<String>) - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Stores a microdesc consensus to disk and adds all referenced microdescriptors to the list of missing descriptors.
storeMicrodescriptor(byte[], String, long) - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Stores a microdescriptor to disk.
storeMicrodescriptor(byte[], String, String, long) - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorParser
Forwards the given microdescriptor to the archive writer to store it to disk and tells the relay descriptor downloader that this microdescriptor is not missing anymore.
storeOut(String) - Method in class org.torproject.metrics.collector.persist.DescriptorPersistence
Stores the descriptor in out (i.e.
storeOut(String, StandardOpenOption) - Method in class org.torproject.metrics.collector.persist.DescriptorPersistence
Stores the descriptor in out (i.e.
storeOut(String, StandardOpenOption) - Method in class org.torproject.metrics.collector.persist.OnionPerfPersistence
If the original descriptor file was a .tpf file, append the parsed Torperf result to the destination .tpf file, but if it was a .json.xz file, just copy over the entire file, unless it already exists.
storeRecent(String) - Method in class org.torproject.metrics.collector.persist.DescriptorPersistence
Stores the descriptor in recent.
storeRecent(String) - Method in class org.torproject.metrics.collector.persist.WebServerAccessLogPersistence
Logs are not appended.
storeRecent(String, StandardOpenOption) - Method in class org.torproject.metrics.collector.persist.DescriptorPersistence
Stores the descriptor in recent.
storeRecent(String, StandardOpenOption) - Method in class org.torproject.metrics.collector.persist.OnionPerfPersistence
If the original descriptor file was a .tpf file, append the parsed Torperf result to the destination .tpf file, but if it was a .json.xz file, just copy over the entire file, unless it already exists.
storeServerDescriptor(byte[], String, long, String) - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Stores a server descriptor to disk and adds the referenced extra-info descriptor to the list of missing descriptors.
storeToFileSystem(byte[], byte[], Path, StandardOpenOption) - Static method in class org.torproject.metrics.collector.persist.PersistenceUtils
Stores a descriptor adding missing annotations with the given options.
storeToFileSystem(byte[], byte[], Path, StandardOpenOption, boolean) - Static method in class org.torproject.metrics.collector.persist.PersistenceUtils
Stores a descriptor adding missing annotations with the given options.
storeVote(byte[], long, String, String, SortedSet<String>) - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
Stores a vote to disk and adds all referenced server descriptors to the list of missing descriptors.
Sync - org.torproject.metrics.collector.conf.SourceType
 
SyncManager - Class in org.torproject.metrics.collector.sync
 
SyncManager() - Constructor for class org.torproject.metrics.collector.sync.SyncManager
 
syncMapPathsDescriptors() - Method in class org.torproject.metrics.collector.cron.CollecTorMain
Returns map of path and descriptor type for download.
syncMarker() - Method in class org.torproject.metrics.collector.bridgedb.BridgedbMetricsProcessor
Return the synchronization marker.
syncMarker() - Method in class org.torproject.metrics.collector.bridgedescs.SanitizedBridgesWriter
 
syncMarker() - Method in class org.torproject.metrics.collector.bridgepools.BridgePoolAssignmentsProcessor
Return the synchronization marker.
syncMarker() - Method in class org.torproject.metrics.collector.cron.CollecTorMain
Returns property prefix/infix/postfix for Sync related properties.
syncMarker() - Method in class org.torproject.metrics.collector.exitlists.ExitListDownloader
 
syncMarker() - Method in class org.torproject.metrics.collector.indexer.CreateIndexJson
 
syncMarker() - Method in class org.torproject.metrics.collector.onionperf.OnionPerfDownloader
 
syncMarker() - Method in class org.torproject.metrics.collector.relaydescs.ArchiveWriter
 
syncMarker() - Method in class org.torproject.metrics.collector.snowflake.SnowflakeStatsDownloader
 
syncMarker() - Method in class org.torproject.metrics.collector.webstats.SanitizeWeblogs
 
SYNCORIGINS - Static variable in class org.torproject.metrics.collector.sync.SyncManager
 
SyncPath - org.torproject.metrics.collector.conf.Key
 
SyncPersistence - Class in org.torproject.metrics.collector.sync
Provides persistence for descriptors based on the descriptor type.
SyncPersistence(Configuration) - Constructor for class org.torproject.metrics.collector.sync.SyncPersistence
Initialize with the given configuration.

T

TEMPFIX - Static variable in class org.torproject.metrics.collector.persist.PersistenceUtils
 
toLogString() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
Returns a log line string.
toString() - Method in enum org.torproject.metrics.collector.conf.Annotation
 
toString() - Method in class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 

U

UpdateindexActivated - org.torproject.metrics.collector.conf.Key
 
UpdateindexOffsetMinutes - org.torproject.metrics.collector.conf.Key
 
UpdateindexPeriodMinutes - org.torproject.metrics.collector.conf.Key
 

V

valueOf(String) - Static method in enum org.torproject.metrics.collector.conf.Annotation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.torproject.metrics.collector.conf.Key
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.torproject.metrics.collector.conf.SourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.torproject.metrics.collector.webstats.FileType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.torproject.metrics.collector.conf.Annotation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.torproject.metrics.collector.conf.Key
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.torproject.metrics.collector.conf.SourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.torproject.metrics.collector.webstats.FileType
Returns an array containing the constants of this enum type, in the order they are declared.
virtualHost - Variable in class org.torproject.metrics.collector.webstats.LogMetadata
The name of the virtual host.
Vote - org.torproject.metrics.collector.conf.Annotation
 
VotePersistence - Class in org.torproject.metrics.collector.persist
 
VotePersistence(RelayNetworkStatusVote, long) - Constructor for class org.torproject.metrics.collector.persist.VotePersistence
 

W

WebServerAccessLogImpl - Class in org.torproject.metrics.collector.webstats
Implementation of web server access log descriptors.
WebServerAccessLogImpl(byte[], File, String) - Constructor for class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
Creates a WebServerAccessLog from the given bytes and filename.
WebServerAccessLogImpl(String, String, LocalDate) - Constructor for class org.torproject.metrics.collector.webstats.WebServerAccessLogImpl
Creates an empty WebServerAccessLog from the given filename parts.
WebServerAccessLogLine - Class in org.torproject.metrics.collector.webstats
 
WebServerAccessLogLine() - Constructor for class org.torproject.metrics.collector.webstats.WebServerAccessLogLine
 
WebServerAccessLogPersistence - Class in org.torproject.metrics.collector.persist
 
WebServerAccessLogPersistence(WebServerAccessLog) - Constructor for class org.torproject.metrics.collector.persist.WebServerAccessLogPersistence
Prepare storing the given descriptor.
WEBSTATS - Static variable in class org.torproject.metrics.collector.persist.DescriptorPersistence
 
WebstatsActivated - org.torproject.metrics.collector.conf.Key
 
WebstatsLimits - org.torproject.metrics.collector.conf.Key
 
WebstatsLocalOrigins - org.torproject.metrics.collector.conf.Key
 
WebstatsOffsetMinutes - org.torproject.metrics.collector.conf.Key
 
WebstatsPeriodMinutes - org.torproject.metrics.collector.conf.Key
 
WebstatsSources - org.torproject.metrics.collector.conf.Key
 
WebstatsSyncOrigins - org.torproject.metrics.collector.conf.Key
 
writeFile() - Method in class org.torproject.metrics.collector.relaydescs.RelayDescriptorDownloader
Writes status files to disk and logs statistics about downloading relay descriptors in this execution.
writeProcessedFiles(Path, SortedSet<Path>) - Method in class org.torproject.metrics.collector.cron.CollecTorMain
Write file names of processed files to the state file.

X

XZ - org.torproject.metrics.collector.webstats.FileType
 
A B C D E F G H I J K L M N O P R S T U V W X 
All Classes All Packages