public static class ModCluster.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ModCluster | build() |
long | getTtl() |
ModCluster.Builder | setCacheConnections(int cacheConnections) |
ModCluster.Builder | setHealthChecker(NodeHealthChecker healthChecker) |
ModCluster.Builder | setHealthCheckInterval(long healthCheckInterval) |
ModCluster.Builder | setMaxConnections(int maxConnections) |
ModCluster.Builder | setMaxRequestTime(int maxRequestTime) |
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 long getTtl()
public ModCluster.Builder setTtl(long ttl)
Copyright © 2015 JBoss by Red Hat. All rights reserved.