Package tigase.stats
Class CounterDataFileLogger
java.lang.Object
tigase.stats.CounterDataFileLogger
- All Implemented Interfaces:
ConfigurationChangedAware,Initializable,StatisticsArchivizerIfc
public class CounterDataFileLogger
extends Object
implements StatisticsArchivizerIfc, ConfigurationChangedAware, Initializable
Class responsible for dumping server statistics to a file
- Author:
- wojtek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeanConfigurationChanged(Collection<String> changedFields) Method called when configuration was applied to bean.voidlongvoidMethod will be called, when bean will be created, configured and ready to use.voidrelease()
-
Constructor Details
-
CounterDataFileLogger
public CounterDataFileLogger()
-
-
Method Details
-
execute
- Specified by:
executein interfaceStatisticsArchivizerIfc
-
release
public void release()- Specified by:
releasein interfaceStatisticsArchivizerIfc
-
beanConfigurationChanged
Description copied from interface:ConfigurationChangedAwareMethod called when configuration was applied to bean.- Specified by:
beanConfigurationChangedin interfaceConfigurationChangedAware- Parameters:
changedFields- collection of field names which were changed
-
getFrequency
public long getFrequency()- Specified by:
getFrequencyin interfaceStatisticsArchivizerIfc
-
initialize
public void initialize()Description copied from interface:InitializableMethod will be called, when bean will be created, configured and ready to use.- Specified by:
initializein interfaceInitializable
-