public class ArchiveReader
extends java.lang.Object
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.
|
Modifier and Type | Method and Description |
---|---|
void |
haveParsedMicrodescConsensus(java.lang.String validAfterTime,
java.util.SortedSet<java.lang.String> microdescriptorDigests)
Stores the valid-after time and microdescriptor digests of a given
microdesc consensus, so that microdescriptors (which don't contain a
publication time) can later be sorted into the correct month
folders.
|
public ArchiveReader(RelayDescriptorParser rdp, java.io.File archivesDirectory, java.io.File statsDirectory, boolean keepImportHistory)
public void haveParsedMicrodescConsensus(java.lang.String validAfterTime, java.util.SortedSet<java.lang.String> microdescriptorDigests)