|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.JobTiming
public class JobTiming
Define the timing requirements and statistics for a particular job
Constructor Summary | |
---|---|
JobTiming(RouterContext context)
|
Method Summary | |
---|---|
void |
end()
Notify the timing that the job finished |
long |
getActualEnd()
# of milliseconds after the epoch the job actually ended |
long |
getActualStart()
# of milliseconds after the epoch the job actually started |
long |
getStartAfter()
# of milliseconds after the epoch to start the job |
void |
offsetChanged(long delta)
|
void |
setActualEnd(long actualEndTime)
|
void |
setActualStart(long actualStartTime)
|
void |
setStartAfter(long startTime)
|
void |
start()
Notify the timing that the job began |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobTiming(RouterContext context)
Method Detail |
---|
public long getStartAfter()
public void setStartAfter(long startTime)
public long getActualStart()
public void setActualStart(long actualStartTime)
public void start()
public long getActualEnd()
public void setActualEnd(long actualEndTime)
public void end()
public void offsetChanged(long delta)
offsetChanged
in interface Clock.ClockUpdateListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |