StoreCounter

Counts the store's round trips by command name, from the MongoDB driver's command events or the JDBC calls; and on JDBC times them (timings): each statement's execution by its name, a connection's wait in the pool (poolWait) and its hold, taken to closed (connectionHold).

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun count(name: String)
Link copied to clipboard
fun reset()
Link copied to clipboard
Link copied to clipboard
fun time(name: String, took: Long)

One name call of took nanoseconds.

Link copied to clipboard

Each timed name's nanoseconds and calls so far: <name> nanos, <name> calls.