forked from I2P_Developers/i2p.i2p
revert JobTiming being a clock shift listener, not needed
This commit is contained in:
@@ -16,7 +16,7 @@ import net.i2p.util.Clock;
|
|||||||
*
|
*
|
||||||
* For use by the router only. Not to be used by applications or plugins.
|
* For use by the router only. Not to be used by applications or plugins.
|
||||||
*/
|
*/
|
||||||
public class JobTiming implements Clock.ClockUpdateListener, RouterClock.ClockShiftListener {
|
public class JobTiming implements Clock.ClockUpdateListener {
|
||||||
private volatile long _start;
|
private volatile long _start;
|
||||||
private volatile long _actualStart;
|
private volatile long _actualStart;
|
||||||
private volatile long _actualEnd;
|
private volatile long _actualEnd;
|
||||||
@@ -82,8 +82,4 @@ public class JobTiming implements Clock.ClockUpdateListener, RouterClock.ClockSh
|
|||||||
if (_actualEnd != 0)
|
if (_actualEnd != 0)
|
||||||
_actualEnd += delta;
|
_actualEnd += delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clockShift(long delta) {
|
|
||||||
offsetChanged(delta);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user