Class InstrumentedAsyncClientConnectionManager
- java.lang.Object
-
- org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager
-
- io.dropwizard.metrics5.httpclient5.InstrumentedAsyncClientConnectionManager
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hc.client5.http.nio.AsyncClientConnectionManager,org.apache.hc.core5.io.ModalCloseable,org.apache.hc.core5.pool.ConnPoolControl<org.apache.hc.client5.http.HttpRoute>,org.apache.hc.core5.pool.ConnPoolStats<org.apache.hc.client5.http.HttpRoute>
public class InstrumentedAsyncClientConnectionManager extends org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManagerAHttpClientConnectionManagerwhich monitors the number of open connections.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInstrumentedAsyncClientConnectionManager.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstrumentedAsyncClientConnectionManager.Builderbuilder(io.dropwizard.metrics5.MetricRegistry metricsRegistry)voidclose()voidclose(org.apache.hc.core5.io.CloseMode closeMode)protected static org.apache.hc.core5.http.config.Registry<org.apache.hc.core5.http.nio.ssl.TlsStrategy>getDefaultTlsStrategy()-
Methods inherited from class org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager
closeExpired, closeIdle, connect, getDefaultMaxPerRoute, getMaxPerRoute, getMaxTotal, getRoutes, getStats, getTotalStats, getValidateAfterInactivity, lease, release, setDefaultMaxPerRoute, setMaxPerRoute, setMaxTotal, setValidateAfterInactivity, upgrade
-
-
-
-
Method Detail
-
getDefaultTlsStrategy
protected static org.apache.hc.core5.http.config.Registry<org.apache.hc.core5.http.nio.ssl.TlsStrategy> getDefaultTlsStrategy()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classorg.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager
-
close
public void close(org.apache.hc.core5.io.CloseMode closeMode)
- Specified by:
closein interfaceorg.apache.hc.core5.io.ModalCloseable- Overrides:
closein classorg.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager
-
builder
public static InstrumentedAsyncClientConnectionManager.Builder builder(io.dropwizard.metrics5.MetricRegistry metricsRegistry)
-
-