forked from I2P_Developers/i2p.i2p
* Streaming lib:
- Move ConEvent from SimpleTimer to SimpleScheduler - Move RetransmissionTimer (ResendPacketEvent) from SimpleTimer to new SimpleTimer2 - Move ActivityTimer and Flusher from SimpleTimer to RetransmissionTimer - SimpleTimer2 allows specifying "fuzz" to reduce timer queue churn further
This commit is contained in:
@ -6,7 +6,12 @@ import net.i2p.util.SimpleTimer;
|
||||
*
|
||||
*/
|
||||
class FlushTimer extends SimpleTimer {
|
||||
private static final FlushTimer _instance = new FlushTimer();
|
||||
public static final SimpleTimer getInstance() { return _instance; }
|
||||
protected FlushTimer() { super("TunnelFlushTimer"); }
|
||||
/*
|
||||
Streaming lib has been moved from SimpleTimer to SimpleTimer2, eliminating the congestion.
|
||||
So there's not much left using SimpleTimer, and FlushTimer doesn't need its own 4 threads any more
|
||||
(if it ever did?...)
|
||||
*/
|
||||
//private static final FlushTimer _instance = new FlushTimer();
|
||||
//public static final SimpleTimer getInstance() { return _instance; }
|
||||
//protected FlushTimer() { super("TunnelFlushTimer"); }
|
||||
}
|
||||
|
Reference in New Issue
Block a user