ComponentCounters

The component run's counters: a MongoDB CommandListener the mongo profile's client takes (MongoBackend), and a wrapper of the postgres profile's DataSource that counts every statement executed and every commit and rollback. ComponentBench passes it as a source of its own; it is no @Configuration, so the end-to-end server's component scan of this package leaves it out and its store calls go unwrapped (B.O-1).

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
fun componentCommandListener(counter: StoreCounter): CommandListener
Link copied to clipboard
@Bean
fun componentDataSourceCounter(counter: StoreCounter): BeanPostProcessor
Link copied to clipboard