Package | Description |
---|---|
org.torproject.collector.relaydescs |
Constructor and Description |
---|
ArchiveReader(RelayDescriptorParser rdp,
java.io.File archivesDirectory,
java.io.File statsDirectory,
boolean keepImportHistory)
Reads all descriptors from the given directory, possibly using a
parse history file, and passes them to the given descriptor
parser.
|
CachedRelayDescriptorReader(RelayDescriptorParser rdp,
java.lang.String[] inputDirectories,
java.io.File statsDirectory)
Reads cached-descriptor files from one or more directories and
passes them to the given descriptor parser.
|
RelayDescriptorDownloader(RelayDescriptorParser rdp,
java.lang.String[] authorities,
java.lang.String[] authorityFingerprints,
boolean downloadCurrentConsensus,
boolean downloadCurrentMicrodescConsensus,
boolean downloadCurrentVotes,
boolean downloadMissingServerDescriptors,
boolean downloadMissingExtraInfos,
boolean downloadMissingMicrodescriptors,
boolean downloadAllServerDescriptors,
boolean downloadAllExtraInfos,
boolean downloadCompressed)
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 . |