public static interface ConnectionProvider.MeterRegistrar
| Modifier and Type | Method and Description |
|---|---|
default void |
deRegisterMetrics(String poolName,
String id,
SocketAddress remoteAddress)
Invoked when a connection pool is disposed.
|
void |
registerMetrics(String poolName,
String id,
SocketAddress remoteAddress,
ConnectionPoolMetrics metrics)
Invoked when a connection pool is created.
|
void registerMetrics(String poolName, String id, SocketAddress remoteAddress, ConnectionPoolMetrics metrics)
poolName - the pool nameid - the pool idremoteAddress - the remote addressmetrics - the pool metricsdefault void deRegisterMetrics(String poolName, String id, SocketAddress remoteAddress)
poolName - the pool nameid - the pool idremoteAddress - the remote address