org.klomp.snark
Class PeerMonitorTask
java.lang.Object
java.util.TimerTask
org.klomp.snark.PeerMonitorTask
- All Implemented Interfaces:
- Runnable
class PeerMonitorTask
- extends TimerTask
TimerTask that monitors the peers and total up/download speeds.
Works together with the main Snark class to report periodical statistics.
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MONITOR_PERIOD
static final long MONITOR_PERIOD
- See Also:
- Constant Field Values
PeerMonitorTask
PeerMonitorTask(PeerCoordinator coordinator)
run
public void run()
- Specified by:
run
in interface Runnable
- Specified by:
run
in class TimerTask