mirror of
https://github.com/torproject/metrics-web.git
synced 2024-11-26 19:20:32 +00:00
Make a couple JavaDoc fixes.
This commit is contained in:
parent
175d4c8aeb
commit
d81c8400af
@ -33,11 +33,11 @@ import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* Generates statistics on the average number of relays and bridges per
|
||||
* day. Accepts parse results from <code>RelayDescriptorParser</code> and
|
||||
* <code>BridgeDescriptorParser</code> and stores them in intermediate
|
||||
* result files <code>stats/consensus-stats-raw</code> and
|
||||
* <code>stats/bridge-consensus-stats-raw</code>. Writes final results to
|
||||
* <code>stats/consensus-stats</code> for all days for which at least half
|
||||
* day. Accepts parse results from {@code RelayDescriptorParser} and
|
||||
* {@code BridgeDescriptorParser} and stores them in intermediate
|
||||
* result files {@code stats/consensus-stats-raw} and
|
||||
* {@code stats/bridge-consensus-stats-raw}. Writes final results to
|
||||
* {@code stats/consensus-stats} for all days for which at least half
|
||||
* of the expected consensuses or statuses are known.
|
||||
*/
|
||||
public class ConsensusStatsFileHandler {
|
||||
@ -52,14 +52,14 @@ public class ConsensusStatsFileHandler {
|
||||
* Number of running bridges in a given bridge status. Map keys are the bridge
|
||||
* status time formatted as "yyyy-MM-dd HH:mm:ss", a comma, and the bridge
|
||||
* authority nickname, map values are lines as read from
|
||||
* <code>stats/bridge-consensus-stats-raw</code>.
|
||||
* {@code stats/bridge-consensus-stats-raw}.
|
||||
*/
|
||||
private SortedMap<String, String> bridgesRaw;
|
||||
|
||||
/**
|
||||
* Average number of running bridges per day. Map keys are dates
|
||||
* formatted as "yyyy-MM-dd", map values are the remaining columns as written
|
||||
* to <code>stats/consensus-stats</code>.
|
||||
* to {@code stats/consensus-stats}.
|
||||
*/
|
||||
private SortedMap<String, String> bridgesPerDay;
|
||||
|
||||
@ -83,9 +83,9 @@ public class ConsensusStatsFileHandler {
|
||||
|
||||
/**
|
||||
* Initializes this class, including reading in intermediate results
|
||||
* files <code>stats/consensus-stats-raw</code> and
|
||||
* <code>stats/bridge-consensus-stats-raw</code> and final results file
|
||||
* <code>stats/consensus-stats</code>.
|
||||
* files {@code stats/consensus-stats-raw} and
|
||||
* {@code stats/bridge-consensus-stats-raw} and final results file
|
||||
* {@code stats/consensus-stats}.
|
||||
*/
|
||||
public ConsensusStatsFileHandler(String connectionUrl,
|
||||
File bridgesDir, File statsDirectory,
|
||||
|
@ -20,7 +20,6 @@ import java.util.logging.Logger;
|
||||
*
|
||||
* <p>Log levels used by ERNIE:</p>
|
||||
*
|
||||
* <p>
|
||||
* <ul>
|
||||
* <li>SEVERE: An event made it impossible to continue program execution.
|
||||
* WARNING: A potential problem occurred that requires the operator to
|
||||
@ -34,7 +33,6 @@ import java.util.logging.Logger;
|
||||
* using FINER.</li>
|
||||
* <li>FINEST: Most detailed debug messages. Not used.</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*/
|
||||
public class LoggingConfiguration {
|
||||
|
||||
|
@ -173,7 +173,7 @@ public final class RelayDescriptorDatabaseImporter {
|
||||
|
||||
/**
|
||||
* Set of fingerprints that we imported for the valid-after time in
|
||||
* <code>lastCheckedStatusEntries</code>.
|
||||
* {@code lastCheckedStatusEntries}.
|
||||
*/
|
||||
private Set<String> insertedStatusEntries = new HashSet<>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user