public class ModCluster
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
ModCluster.Builder |
Modifier and Type | Method | 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 java.lang.String |
getServerID() |
|
long |
getTtl() |
|
boolean |
isDeterministicFailover() |
|
boolean |
isQueueNewRequests() |
|
boolean |
isUseAlias() |
|
void |
start() |
Start
|
void |
stop() |
Stop
|
protected java.lang.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()
public boolean isDeterministicFailover()
@Deprecated public HttpHandler getProxyHandler()
public HttpHandler createProxyHandler()
public HttpHandler createProxyHandler(HttpHandler next)
public void start()
public void advertise(MCMPConfig config) throws java.io.IOException
config
- the mcmp handler configjava.io.IOException
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 © 2018. All rights reserved.