CustomStats (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

com.sleepycat.je

## Interface CustomStats

-     public interface CustomStats

  A custom statistics object. Custom statistics allow for customization of statistics that are written at periodic intervals to the je.stats.csv file. The field names returned from the getFieldNames() method are used as column headers in the je.stat.csv file. The getFieldNames() method is only called once when the environment is opened. The field values are associated with the field names in the order of the returned array. The getFieldValues() method is called when a row is written to the statistics file. The semantic for the values are implementation specific. The values may represent totals, incremental (since the last getFieldValues() call), or stateless (computed at the time the statistic is requested).

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String[]` | `getFieldNames()` The field names that are output to the je.stats.csv file.
    `String[]` | `getFieldValues()` The field values that are output to the je.stats.csv file.

- - ### Method Detail

    - #### getFieldNames

          String[] getFieldNames()

      The field names that are output to the je.stats.csv file.
      Returns:
        Array of strings that represent the field values.

    - #### getFieldValues

          String[] getFieldValues()

      The field values that are output to the je.stats.csv file.
      Returns:
        Array of strings that represent a value for the associated field name.

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.