Clock.ClockUpdateListener
public class JobTiming extends java.lang.Object implements Clock.ClockUpdateListener
コンストラクタ | 説明 |
---|---|
JobTiming(RouterContext context) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
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) |
WARNING - this does not force a resort of the job queue any more...
|
void |
start() |
Notify the timing that the job began
|
public JobTiming(RouterContext context)
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
インタフェース内 Clock.ClockUpdateListener
delta
- = (new offset - old offset),
where each offset = (now() - System.currentTimeMillis())