public static class ModCluster.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ModCluster | build() |
ModCluster.Builder | setCacheConnections(int cacheConnections) |
ModCluster.Builder | setClientOptions(org.xnio.OptionMap clientOptions) |
ModCluster.Builder | setDeterministicFailover(boolean deterministicFailover) |
ModCluster.Builder | setHealthChecker(NodeHealthChecker healthChecker) |
ModCluster.Builder | setHealthCheckInterval(long healthCheckInterval) |
ModCluster.Builder | setMaxConnections(int maxConnections) |
ModCluster.Builder | setMaxRequestTime(int maxRequestTime) |
ModCluster.Builder | setMaxRetries(int maxRetries) |
ModCluster.Builder | setQueueNewRequests(boolean queueNewRequests) |
ModCluster.Builder | setRemoveBrokenNodes(long removeBrokenNodes) |
ModCluster.Builder | setRequestQueueSize(int requestQueueSize) |
ModCluster.Builder | setTtl(long ttl) |
ModCluster.Builder | setUseAlias(boolean useAlias) |
public ModCluster build()
public ModCluster.Builder setMaxRequestTime(int maxRequestTime)
public ModCluster.Builder setHealthCheckInterval(long healthCheckInterval)
public ModCluster.Builder setRemoveBrokenNodes(long removeBrokenNodes)
public ModCluster.Builder setMaxConnections(int maxConnections)
public ModCluster.Builder setCacheConnections(int cacheConnections)
public ModCluster.Builder setRequestQueueSize(int requestQueueSize)
public ModCluster.Builder setQueueNewRequests(boolean queueNewRequests)
public ModCluster.Builder setHealthChecker(NodeHealthChecker healthChecker)
public ModCluster.Builder setUseAlias(boolean useAlias)
public ModCluster.Builder setMaxRetries(int maxRetries)
public ModCluster.Builder setDeterministicFailover(boolean deterministicFailover)
public ModCluster.Builder setTtl(long ttl)
public ModCluster.Builder setClientOptions(org.xnio.OptionMap clientOptions)
Copyright © 2017 JBoss by Red Hat. All rights reserved.