java.lang.Object
net.i2p.router.Tuner.SubsystemScore
Enclosing class:
Tuner

public static class Tuner.SubsystemScoreextends Object
Per-subsystem health scores. Each entry: {score, ...detail values}. Score is 0.0-1.0. Updated once per tuning cycle alongside the overall health score.
  • Field Details

    • name

      public final String name
      Subsystem identifier.
    • label

      public final String label
      Human-readable label.
    • score

      public double score
      Health score 0.0-1.0.
    • details

      public final String[] details
      Detailed metric labels.
  • Constructor Details

    • SubsystemScore

      SubsystemScore(String name, String label, double score, String[] details)
      A snapshot of one subsystem's health for display.
      Parameters:
      name - subsystem key from Tuner.SUB_ROUTER and its siblings
      label - human-readable subsystem label
      score - health score, clamped into 0.0-1.0
      details - metric labels behind the score, or null for none