Changeset cae9432


Ignore:
Timestamp:
Mar 22, 2012 7:55:40 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
675e8a9
Parents:
bafef846
Message:

remove FlushTimer?

Location:
router/java/src/net/i2p/router/tunnel
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/tunnel/PumpedTunnelGateway.java

    rbafef846 rcae9432  
    122122       
    123123        if (delayedFlush) {
    124             FlushTimer.getInstance().addEvent(_delayedFlush, delayAmount);
     124            _context.simpleTimer().addEvent(_delayedFlush, delayAmount);
    125125        }
    126126        _context.statManager().addRateData("tunnel.lockedGatewayAdd", afterAdded-beforeLock, remaining);
  • router/java/src/net/i2p/router/tunnel/TunnelGateway.java

    rbafef846 rcae9432  
    125125       
    126126        if (delayedFlush) {
    127             FlushTimer.getInstance().addEvent(_delayedFlush, delayAmount);
     127            _context.simpleTimer().addEvent(_delayedFlush, delayAmount);
    128128        }
    129129        _context.statManager().addRateData("tunnel.lockedGatewayAdd", afterAdded-beforeLock, remaining);
     
    305305           
    306306            if (wantRequeue)
    307                 FlushTimer.getInstance().addEvent(_delayedFlush, delayAmount);
     307                _context.simpleTimer().addEvent(_delayedFlush, delayAmount);
    308308            else
    309309                _lastFlush = _context.clock().now();
Note: See TracChangeset for help on using the changeset viewer.