The AsyncMysqlClientStats class

This page is a quick reference for people already familiar with the class. If this is new to you, we strongly recommend reading the introductory guides first:

Provides timing statistics about the MySQL client.

This class provides round-trip and callback timing information for various operations on the MySQL client.

This information can be used to know how the performance of the MySQL client may have affected a given result.

For example, if you have a AsyncMysqlConnection, you can call:


to get round-trip timing information on the connection event itself.

Basically any concrete implementation of AsyncMysqlResult can provide these type of statistics by calling its clientStats() method and a method on this class.

Interface synopsis

class AsyncMysqlClientStats {...}