Skip to content

Commit

Permalink
Merge #2610 into 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Dec 12, 2022
2 parents c1c8822 + 63a14fb commit aa8c93d
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 aa8c93d

Please sign in to comment.