org.gudy.azureus2.core3.stats.impl
Class StatsWriterPeriodicImpl

java.lang.Object
  extended by org.gudy.azureus2.core3.stats.impl.StatsWriterPeriodicImpl
All Implemented Interfaces:
COConfigurationListener, StatsWriterPeriodic, TimerEventPerformer

public class StatsWriterPeriodicImpl
extends Object
implements StatsWriterPeriodic, COConfigurationListener, TimerEventPerformer

Author:
parg

Field Summary
 
Fields inherited from interface org.gudy.azureus2.core3.stats.StatsWriterPeriodic
DEFAULT_SLEEP_PERIOD, DEFAULT_STATS_FILE_NAME
 
Constructor Summary
protected StatsWriterPeriodicImpl(AzureusCore _core)
           
 
Method Summary
 void configurationSaved()
           
static StatsWriterPeriodic create(AzureusCore _core)
           
 void perform(TimerEvent event)
           
protected  void readConfigValues()
           
 void start()
           
 void stop()
           
protected  void update()
           
protected  void writeStats()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatsWriterPeriodicImpl

protected StatsWriterPeriodicImpl(AzureusCore _core)
Method Detail

create

public static StatsWriterPeriodic create(AzureusCore _core)

perform

public void perform(TimerEvent event)
Specified by:
perform in interface TimerEventPerformer

update

protected void update()

readConfigValues

protected void readConfigValues()

writeStats

protected void writeStats()

configurationSaved

public void configurationSaved()
Specified by:
configurationSaved in interface COConfigurationListener

start

public void start()
Specified by:
start in interface StatsWriterPeriodic

stop

public void stop()
Specified by:
stop in interface StatsWriterPeriodic