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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beanConfigurationChanged
(Collection<String> changedFields) Method called when configuration was applied to bean.void
long
void
Method will be called, when bean will be created, configured and ready to use.void
Method called when bean is being registered allowing developer to programatically register other beans.void
release()
void
unregister
(Kernel kernel) Method called while bean is being unregistered.
-
Field Details
-
defaultHostname
-
-
Constructor Details
-
CounterDataLogger
public CounterDataLogger()
-
-
Method Details
-
beanConfigurationChanged
Description copied from interface:ConfigurationChangedAware
Method called when configuration was applied to bean.- Specified by:
beanConfigurationChanged
in interfaceConfigurationChangedAware
- Parameters:
changedFields
- collection of field names which were changed
-
execute
- Specified by:
execute
in interfaceStatisticsArchivizerIfc
-
getFrequency
public long getFrequency()- Specified by:
getFrequency
in interfaceStatisticsArchivizerIfc
-
initialize
public void initialize()Description copied from interface:Initializable
Method will be called, when bean will be created, configured and ready to use.- Specified by:
initialize
in interfaceInitializable
-
register
Description copied from interface:RegistrarBean
Method called when bean is being registered allowing developer to programatically register other beans.- Specified by:
register
in interfaceRegistrarBean
- Parameters:
kernel
- - instance from local scope
-
unregister
Description copied from interface:RegistrarBean
Method called while bean is being unregistered.- Specified by:
unregister
in interfaceRegistrarBean
- Parameters:
kernel
- - instance from local scope
-
release
public void release()- Specified by:
release
in interfaceStatisticsArchivizerIfc
-