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 TypeMethodDescriptionvoidadvertise(MCMPConfig config) Start advertising a mcmp handler.static ModCluster.Builderbuilder(org.xnio.XnioWorker worker) static ModCluster.Builderbuilder(org.xnio.XnioWorker worker, UndertowClient client) static ModCluster.Builderbuilder(org.xnio.XnioWorker worker, UndertowClient client, org.xnio.ssl.XnioSsl xnioSsl) Get the handler proxying the requests.Get the handler proxying the requests.intprotected io.undertow.server.handlers.proxy.mod_cluster.ModClusterContainerlongintDeprecated.longintprotected StringlonggetTtl()booleanbooleanbooleanvoidstart()Startvoidstop()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)
-