Class JobStats

java.lang.Object
net.i2p.router.JobStats

public class JobStats extends Object
Glorified struct to contain basic job stats. Public for router console only. For use by the router only. Not to be used by applications or plugins.
  • Constructor Details

    • JobStats

      public JobStats(String name)
  • Method Details

    • jobRan

      public void jobRan(long runTime, long lag)
    • jobDropped

      public void jobDropped()
      Since:
      0.9.19
    • getDropped

      public long getDropped()
      Since:
      0.9.19
    • getName

      public String getName()
    • getRuns

      public long getRuns()
    • getTotalTime

      public long getTotalTime()
    • getMaxTime

      public long getMaxTime()
    • getMinTime

      public long getMinTime()
    • getAvgTime

      public double getAvgTime()
    • getTotalPendingTime

      public long getTotalPendingTime()
    • getMaxPendingTime

      public long getMaxPendingTime()
    • getMinPendingTime

      public long getMinPendingTime()
    • getAvgPendingTime

      public double getAvgPendingTime()