Package oracle.nosql.driver

## Interface StatsControl.StatsHandler

- All Superinterfaces:
    `Consumer<MapValue>`
  Enclosing interface:
    StatsControl

      public static interface StatsControl.StatsHandler
      extends Consumer<MapValue>

  Handler interface that user can register to get access to stats at the end of the interval.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `accept​(MapValue jsonStats)` | Stats are available in a MapValue instance that can be searched or rendered in JSON format using `FieldValue.toString()` or `FieldValue.toJson()`.

    - ### Methods inherited from interface java.util.function.Consumer

      `andThen`

- - ### Method Detail

    - #### accept

          void accept​(MapValue jsonStats)

      Stats are available in a MapValue instance that can be searched or rendered in JSON format using `FieldValue.toString()` or `FieldValue.toJson()`.
      Specified by:
        `accept` in interface `Consumer<MapValue>`