Package tigase.stats
Class CounterDataLogger
java.lang.Object
tigase.stats.CounterDataLogger
- All Implemented Interfaces:
ConfigurationChangedAware,Initializable,RegistrarBean,StatisticsArchivizerIfc
@Bean(name="counter-data-logger",
parent=StatisticsCollector.class,
active=false)
public class CounterDataLogger
extends Object
implements StatisticsArchivizerIfc, ConfigurationChangedAware, Initializable, RegistrarBean
Created: Apr 20, 2010 6:39:05 PM
- Author:
- Artur Hefczyc
-
Field Summary
Fields -
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.voidMethod called when bean is being registered allowing developer to programatically register other beans.voidrelease()voidunregister(Kernel kernel) Method called while bean is being unregistered.
-
Field Details
-
defaultHostname
-
-
Constructor Details
-
CounterDataLogger
public CounterDataLogger()
-
-
Method Details
-
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
-
execute
- Specified by:
executein interfaceStatisticsArchivizerIfc
-
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
-
register
Description copied from interface:RegistrarBeanMethod called when bean is being registered allowing developer to programatically register other beans.- Specified by:
registerin interfaceRegistrarBean- Parameters:
kernel- - instance from local scope
-
unregister
Description copied from interface:RegistrarBeanMethod called while bean is being unregistered.- Specified by:
unregisterin interfaceRegistrarBean- Parameters:
kernel- - instance from local scope
-
release
public void release()- Specified by:
releasein interfaceStatisticsArchivizerIfc
-