public class ModCluster extends Object
Modifier and Type | Class and Description |
---|---|
static class | ModCluster.Builder |
Modifier and Type | Method and Description |
---|---|
void | advertise(MCMPConfig config) Start advertising a mcmp handler. |
static ModCluster.Builder | builder(org.xnio.XnioWorker worker) |
static ModCluster.Builder | builder(org.xnio.XnioWorker worker, UndertowClient client) |
static ModCluster.Builder | builder(org.xnio.XnioWorker worker, UndertowClient client, org.xnio.ssl.XnioSsl xnioSsl) |
HttpHandler | createProxyHandler() Get the handler proxying the requests. |
HttpHandler | createProxyHandler(HttpHandler next) Get the handler proxying the requests. |
int | getCacheConnections() |
protected io.undertow.server.handlers.proxy.mod_cluster.ModClusterContainer | getContainer() |
ModClusterController | getController() |
NodeHealthChecker | getHealthChecker() |
long | getHealthCheckInterval() |
int | getMaxConnections() |
HttpHandler | getProxyHandler() Deprecated. |
long | getRemoveBrokenNodes() |
int | getRequestQueueSize() |
protected String | getServerID() |
long | getTtl() |
boolean | isQueueNewRequests() |
boolean | isUseAlias() |
void | start() Start |
void | stop() Stop |
protected String getServerID()
protected io.undertow.server.handlers.proxy.mod_cluster.ModClusterContainer getContainer()
public ModClusterController getController()
public int getMaxConnections()
public int getCacheConnections()
public int getRequestQueueSize()
public boolean isQueueNewRequests()
public long getHealthCheckInterval()
public long getRemoveBrokenNodes()
public NodeHealthChecker getHealthChecker()
public long getTtl()
public boolean isUseAlias()
@Deprecated public HttpHandler getProxyHandler()
public HttpHandler createProxyHandler()
public HttpHandler createProxyHandler(HttpHandler next)
public void start()
public void advertise(MCMPConfig config) throws IOException
config
- the mcmp handler configIOException
public void stop()
public static ModCluster.Builder builder(org.xnio.XnioWorker worker)
public static ModCluster.Builder builder(org.xnio.XnioWorker worker, UndertowClient client)
public static ModCluster.Builder builder(org.xnio.XnioWorker worker, UndertowClient client, org.xnio.ssl.XnioSsl xnioSsl)
Copyright © 2015 JBoss by Red Hat. All rights reserved.