@Contract(threading=SAFE) public final class H2ConnPool extends AbstractIOSessionPool<HttpHost>
Constructor and Description |
---|
H2ConnPool(ConnectionInitiator connectionInitiator,
Resolver<HttpHost,InetSocketAddress> addressResolver,
TlsStrategy tlsStrategy) |
Modifier and Type | Method and Description |
---|---|
protected void |
closeSession(IOSession ioSession,
CloseMode closeMode) |
protected Future<IOSession> |
connectSession(HttpHost namedEndpoint,
Timeout connectTimeout,
FutureCallback<IOSession> callback) |
TimeValue |
getValidateAfterInactivity() |
void |
setValidateAfterInactivity(TimeValue timeValue) |
protected void |
validateSession(IOSession ioSession,
Callback<Boolean> callback) |
close, close, closeIdle, enumAvailable, getRoutes, getSession, toString
public H2ConnPool(ConnectionInitiator connectionInitiator, Resolver<HttpHost,InetSocketAddress> addressResolver, TlsStrategy tlsStrategy)
public TimeValue getValidateAfterInactivity()
public void setValidateAfterInactivity(TimeValue timeValue)
protected void closeSession(IOSession ioSession, CloseMode closeMode)
closeSession
in class AbstractIOSessionPool<HttpHost>
protected Future<IOSession> connectSession(HttpHost namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback)
connectSession
in class AbstractIOSessionPool<HttpHost>
protected void validateSession(IOSession ioSession, Callback<Boolean> callback)
validateSession
in class AbstractIOSessionPool<HttpHost>
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.