Class ModCluster
java.lang.Object
io.undertow.server.handlers.proxy.mod_cluster.ModCluster
- Author:
- Emanuel Muckenhuber
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) Get the handler proxying the requests.Get the handler proxying the requests.int
protected io.undertow.server.handlers.proxy.mod_cluster.ModClusterContainer
long
int
Deprecated.long
int
protected String
long
getTtl()
boolean
boolean
boolean
void
start()
Startvoid
stop()
Stop
-
Method Details
-
getServerID
-
getContainer
protected io.undertow.server.handlers.proxy.mod_cluster.ModClusterContainer getContainer() -
getController
-
getMaxConnections
public int getMaxConnections() -
getCacheConnections
public int getCacheConnections() -
getRequestQueueSize
public int getRequestQueueSize() -
isQueueNewRequests
public boolean isQueueNewRequests() -
getHealthCheckInterval
public long getHealthCheckInterval() -
getRemoveBrokenNodes
public long getRemoveBrokenNodes() -
getHealthChecker
-
getTtl
public long getTtl() -
isUseAlias
public boolean isUseAlias() -
isDeterministicFailover
public boolean isDeterministicFailover() -
routeParsingStrategy
-
rankedAffinityDelimiter
-
getProxyHandler
Deprecated.Get the handler proxying the requests.- Returns:
- the proxy handler
-
createProxyHandler
Get the handler proxying the requests.- Returns:
- the proxy handler
-
createProxyHandler
Get the handler proxying the requests.- Returns:
- the proxy handler
-
start
public void start()Start -
advertise
Start advertising a mcmp handler.- Parameters:
config
- the mcmp handler config- Throws:
IOException
-
stop
public void stop()Stop -
builder
-
builder
-
builder
public static ModCluster.Builder builder(org.xnio.XnioWorker worker, UndertowClient client, org.xnio.ssl.XnioSsl xnioSsl)
-