Package reactor.netty.resources
Interface ConnectionProvider.MeterRegistrar
- All Known Implementing Classes:
- HttpMeterRegistrarAdapter
- Enclosing interface:
- ConnectionProvider
public static interface ConnectionProvider.MeterRegistrar
A strategy to register which metrics are collected in a particular connection pool.
- 
Method SummaryModifier and TypeMethodDescriptiondefault voiddeRegisterMetrics(String poolName, String id, SocketAddress remoteAddress) Invoked when a connection pool is disposed.voidregisterMetrics(String poolName, String id, SocketAddress remoteAddress, ConnectionPoolMetrics metrics) Invoked when a connection pool is created.
- 
Method Details- 
registerMetricsvoid registerMetrics(String poolName, String id, SocketAddress remoteAddress, ConnectionPoolMetrics metrics) Invoked when a connection pool is created.- Parameters:
- poolName- the pool name
- id- the pool id
- remoteAddress- the remote address
- metrics- the pool metrics
 
- 
deRegisterMetricsInvoked when a connection pool is disposed.- Parameters:
- poolName- the pool name
- id- the pool id
- remoteAddress- the remote address
- Since:
- 1.0.26
 
 
-