public class CounterDataArchivizer extends Object implements StatisticsArchivizerIfc, ConfigurationChangedAware, Initializable
Modifier and Type | Field and Description |
---|---|
static String |
DB_URL_PROP_KEY |
static String |
KEY_FIELD_PROP_KEY |
static String |
TABLE_NAME_PROP_KEY |
static String |
VAL_FIELD_PROP_KEY |
Constructor and Description |
---|
CounterDataArchivizer() |
Modifier and Type | Method and Description |
---|---|
void |
beanConfigurationChanged(Collection<String> changedFields)
Method called when configuration was applied to bean.
|
void |
execute(StatisticsProvider sp) |
long |
getFrequency() |
void |
initData(String key,
String value) |
void |
initialize()
Method will be called, when bean will be created, configured and ready to use.
|
void |
initRepository(String conn_str,
Map<String,String> params) |
void |
release() |
void |
updateData(String key,
String value) |
public static final String DB_URL_PROP_KEY
public static final String KEY_FIELD_PROP_KEY
public static final String TABLE_NAME_PROP_KEY
public static final String VAL_FIELD_PROP_KEY
public void execute(StatisticsProvider sp)
execute
in interface StatisticsArchivizerIfc
public void initRepository(String conn_str, Map<String,String> params) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException, DBInitException
public void release()
release
in interface StatisticsArchivizerIfc
public void beanConfigurationChanged(Collection<String> changedFields)
ConfigurationChangedAware
beanConfigurationChanged
in interface ConfigurationChangedAware
changedFields
- collection of field names which were changedpublic long getFrequency()
getFrequency
in interface StatisticsArchivizerIfc
public void initialize()
Initializable
initialize
in interface Initializable
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.