Package net.i2p.router
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAvgPendingTime()
double
getAvgTime()
long
getDropped()
long
getMaxPendingTime()
long
getMaxTime()
long
getMinPendingTime()
long
getMinTime()
String
getName()
long
getRuns()
long
getTotalPendingTime()
long
getTotalTime()
void
jobDropped()
void
jobRan(long runTime, long lag)
-
-
-
Constructor Detail
-
JobStats
public JobStats(String name)
-
-
Method Detail
-
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()
-
-