public class ProxyConnectionPool extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
static class | ProxyConnectionPool.AvailabilityType |
Constructor and Description |
---|
ProxyConnectionPool(ConnectionPoolManager connectionPoolManager, InetSocketAddress bindAddress, URI uri, UndertowClient client, org.xnio.OptionMap options) |
ProxyConnectionPool(ConnectionPoolManager connectionPoolManager, InetSocketAddress bindAddress, URI uri, org.xnio.ssl.XnioSsl ssl, UndertowClient client, org.xnio.OptionMap options) |
ProxyConnectionPool(ConnectionPoolManager connectionPoolManager, URI uri, UndertowClient client, org.xnio.OptionMap options) |
ProxyConnectionPool(ConnectionPoolManager connectionPoolManager, URI uri, org.xnio.ssl.XnioSsl ssl, UndertowClient client, org.xnio.OptionMap options) |
Modifier and Type | Method and Description |
---|---|
ProxyConnectionPool.AvailabilityType | available() |
void | close() |
void | connect(ProxyClient.ProxyTarget proxyTarget, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit, boolean exclusive) |
InetSocketAddress | getBindAddress() |
ClientStatistics | getClientStatistics() |
int | getOpenConnections() |
URI | getUri() |
public ProxyConnectionPool(ConnectionPoolManager connectionPoolManager, URI uri, UndertowClient client, org.xnio.OptionMap options)
public ProxyConnectionPool(ConnectionPoolManager connectionPoolManager, InetSocketAddress bindAddress, URI uri, UndertowClient client, org.xnio.OptionMap options)
public ProxyConnectionPool(ConnectionPoolManager connectionPoolManager, URI uri, org.xnio.ssl.XnioSsl ssl, UndertowClient client, org.xnio.OptionMap options)
public ProxyConnectionPool(ConnectionPoolManager connectionPoolManager, InetSocketAddress bindAddress, URI uri, org.xnio.ssl.XnioSsl ssl, UndertowClient client, org.xnio.OptionMap options)
public URI getUri()
public InetSocketAddress getBindAddress()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public ProxyConnectionPool.AvailabilityType available()
public ClientStatistics getClientStatistics()
public int getOpenConnections()
public void connect(ProxyClient.ProxyTarget proxyTarget, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit, boolean exclusive)
exclusive
- - Is connection for the exclusive use of one client?Copyright © 2020 JBoss by Red Hat. All rights reserved.