tigase.stats

## Class CounterDataArchivizer

- java.lang.Object
- - tigase.stats.CounterDataArchivizer

- All Implemented Interfaces:
    StatisticsArchivizerIfc

      public class CounterDataArchivizer
      extends Object
      implements StatisticsArchivizerIfc

  Created: Mar 25, 2010 8:55:11 PM
  Version:
    $Rev$
  Author:
    Artur Hefczyc

- - ### Field Summary

    Fields
    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 Summary

    Constructors
    Constructor and Description
    `CounterDataArchivizer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(StatisticsProvider sp)`
    `void` | `init(Map<String,Object> conf)`
    `void` | `initData(String key, String value)`
    `void` | `initRepository(String conn_str, Map<String,String> params)`
    `void` | `release()`
    `void` | `updateData(String key, String value)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### DB_URL_PROP_KEY

          public static final String DB_URL_PROP_KEY

      See Also:
        Constant Field Values

    - #### KEY_FIELD_PROP_KEY

          public static final String KEY_FIELD_PROP_KEY

      See Also:
        Constant Field Values

    - #### TABLE_NAME_PROP_KEY

          public static final String TABLE_NAME_PROP_KEY

      See Also:
        Constant Field Values

    - #### VAL_FIELD_PROP_KEY

          public static final String VAL_FIELD_PROP_KEY

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### CounterDataArchivizer

          public CounterDataArchivizer()

  - ### Method Detail

    - #### execute

          public void execute(StatisticsProvider sp)

      Specified by:
        `execute` in interface `StatisticsArchivizerIfc`

    - #### init

          public void init(Map<String,Object> conf)

      Specified by:
        `init` in interface `StatisticsArchivizerIfc`

    - #### initData

          public void initData(String key,
                               String value)

    - #### initRepository

          public void initRepository(String conn_str,
                                     Map<String,String> params)
                              throws SQLException,
                                     ClassNotFoundException,
                                     InstantiationException,
                                     IllegalAccessException,
                                     DBInitException

      Throws:
        `SQLException`
        `ClassNotFoundException`
        `InstantiationException`
        `IllegalAccessException`
        `DBInitException`

    - #### release

          public void release()

      Specified by:
        `release` in interface `StatisticsArchivizerIfc`

    - #### updateData

          public void updateData(String key,
                                 String value)

Copyright © 2022 "Tigase, Inc.". All rights reserved.