MongoBackend
The mongo profile: the application's MongoClient on spring.mongodb.uri, which selects the MongoDB backend. A bean of its own, not the one the host makes of the property, because it takes the application's driver CommandListeners, which no property can add: none in the server, the round-trip counter in ComponentBench. It is built with the stores' MongoPoolGauge, as an application's own client is, so the stores bound their queries by its pool and read their write pressure from it. The postgres profile needs no bean: the host makes its pool of spring.datasource.*.
Functions
Link copied to clipboard
@Bean(destroyMethod = "close")