public interface ConnectionPoolManager
ProxyConnectionPool
Modifier and Type | Method and Description |
---|---|
boolean |
canCreateConnection(int connections,
io.undertow.server.handlers.proxy.ProxyConnectionPool proxyConnectionPool)
Returns true if the connection pool can create a new connection
|
int |
getProblemServerRetry() |
void |
queuedConnectionFailed(ProxyClient.ProxyTarget proxyTarget,
HttpServerExchange exchange,
ProxyCallback<ProxyConnection> callback,
long timeoutMills)
This is invoked when the target thread pool transitions to problem status.
|
boolean canCreateConnection(int connections, io.undertow.server.handlers.proxy.ProxyConnectionPool proxyConnectionPool)
connections
- The number of connections associated with the current IO thread.proxyConnectionPool
- The connection poolvoid queuedConnectionFailed(ProxyClient.ProxyTarget proxyTarget, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeoutMills)
proxyTarget
- The proxy targetexchange
- The exchangecallback
- The callbacktimeoutMills
- The remaining timeout in milliseconds, or -1 if no timeout has been specifiedint getProblemServerRetry()
Copyright © 2014 JBoss by Red Hat. All rights reserved.