All Methods Instance Methods Concrete Methods Modifier and Type | Method and Description |
LoadBalancingProxyClient | addHost(InetSocketAddress bindAddress, URI host, String jvmRoute, org.xnio.ssl.XnioSsl ssl, org.xnio.OptionMap options) |
LoadBalancingProxyClient | addHost(URI host) |
LoadBalancingProxyClient | addHost(URI host, String jvmRoute) |
LoadBalancingProxyClient | addHost(URI host, String jvmRoute, org.xnio.ssl.XnioSsl ssl) |
LoadBalancingProxyClient | addHost(URI host, String jvmRoute, org.xnio.ssl.XnioSsl ssl, org.xnio.OptionMap options) |
LoadBalancingProxyClient | addHost(URI host, org.xnio.ssl.XnioSsl ssl) |
LoadBalancingProxyClient | addSessionCookieName(String sessionCookieName) |
void | closeCurrentConnections() Should only be used for tests DO NOT CALL THIS METHOD WHEN REQUESTS ARE IN PROGRESS It is not thread safe so internal state can get messed up. |
protected LoadBalancingProxyClient.Host | findStickyHost(HttpServerExchange exchange) |
ProxyClient.ProxyTarget | findTarget(HttpServerExchange exchange) Finds a proxy target for this request, returning null if none can be found. |
void | getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit) Gets a proxy connection for the given request. |
int | getConnectionsPerThread() |
int | getMaxQueueSize() |
int | getProblemServerRetry() |
LoadBalancingProxyClient | removeHost(URI uri) |
LoadBalancingProxyClient | removeSessionCookieName(String sessionCookieName) |
protected LoadBalancingProxyClient.Host | selectHost(HttpServerExchange exchange) |
LoadBalancingProxyClient | setConnectionsPerThread(int connectionsPerThread) |
LoadBalancingProxyClient | setMaxQueueSize(int maxQueueSize) |
LoadBalancingProxyClient | setProblemServerRetry(int problemServerRetry) |
LoadBalancingProxyClient | setSoftMaxConnectionsPerThread(int softMaxConnectionsPerThread) |
LoadBalancingProxyClient | setTtl(int ttl) |