@Override
        public EndpointInfo getInfo() {
            final PoolEntry<HttpRoute, ManagedAsyncClientConnection> poolEntry = poolEntryRef.get();
            if (poolEntry != null) {
                final ManagedAsyncClientConnection connection = poolEntry.getConnection();
                if (connection != null && connection.isOpen()) {
                    final TlsDetails tlsDetails = connection.getTlsDetails();
                    return new EndpointInfo(connection.getProtocolVersion(), tlsDetails != null ? tlsDetails.getSSLSession() : null);
                }
            }
            return null;
        }
Defines period of inactivity after which persistent connections must
be re-validated prior to being {@link #lease(String, HttpRoute, Object, Timeout,
FutureCallback)} leased} to the consumer. Negative values passed
to this method disable connection validation. This check helps detect connections
that have become stale (half-closed) while kept inactive in the pool.

@deprecated Use {@link #setConnectionConfigResolver(Resolver)}.
httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/PoolingAsyncClientConnectionManager.java