Skip to content

Commit

Permalink
Merge #2610 into 2.0.0-M4
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Dec 12, 2022
2 parents 0a59ef5 + aa8c93d commit 1f0366e
Showing 1 changed file with 8 additions and 2 deletions.
Expand Up @@ -810,11 +810,17 @@ final class HostSpecificSpec extends ConnectionPoolSpec<HostSpecificSpec> {

/**
* A strategy to register which metrics are collected in a particular connection pool.
*
* Default implementation of this interface is {@link MicrometerPooledConnectionProviderMeterRegistrar}
*/
interface MeterRegistrar {

/**
* Invoked when a connection pool is created.
*
* @param poolName the pool name
* @param id the pool id
* @param remoteAddress the remote address
* @param metrics the pool metrics
*/
void registerMetrics(String poolName, String id, SocketAddress remoteAddress, ConnectionPoolMetrics metrics);

/**
Expand Down

0 comments on commit 1f0366e

Please sign in to comment.