# Uses of Interface
oracle.nosql.driver.StatsControl

Packages that use StatsControl
Package
Description
oracle.nosql.driver
Contains the public API for using the Oracle NoSQL Database as well as configuration and common parameter classes used in database operations.

- ## Uses of StatsControl in oracle.nosql.driver

  Methods in oracle.nosql.driver that return StatsControl
  Modifier and Type
  Method
  Description
  `StatsControl`
  NoSQLHandle.`getStatsControl()`
  Returns an object that allows control over how SDK statistics are collected.
  `StatsControl`
  StatsControl.`setPrettyPrint(boolean enablePrettyPrint)`
  Enable JSON pretty print for easier human reading.
  `StatsControl`
  StatsControl.`setProfile(StatsControl.Profile profile)`
  Set the stats collection profile.
  `StatsControl`
  StatsControl.`setStatsHandler(StatsControl.StatsHandler handler)`
  Registers a stats handler.