public static class NodeConfig.NodeBuilder extends Object
Modifier and Type | Method and Description |
---|---|
NodeConfig | build() |
int | getWaitWorker() |
NodeConfig.NodeBuilder | setBalancer(String balancer) |
NodeConfig.NodeBuilder | setCacheConnections(int cacheConnections) |
NodeConfig.NodeBuilder | setDomain(String domain) |
NodeConfig.NodeBuilder | setFlushPackets(boolean flushPackets) |
NodeConfig.NodeBuilder | setFlushwait(int flushwait) |
NodeConfig.NodeBuilder | setHostname(String hostname) |
NodeConfig.NodeBuilder | setJvmRoute(String jvmRoute) |
NodeConfig.NodeBuilder | setMaxConnections(int maxConnections) |
NodeConfig.NodeBuilder | setPing(int ping) |
NodeConfig.NodeBuilder | setPort(int port) |
NodeConfig.NodeBuilder | setQueueNewRequests(boolean queueNewRequests) |
NodeConfig.NodeBuilder | setRequestQueueSize(int requestQueueSize) |
NodeConfig.NodeBuilder | setSmax(int smax) |
NodeConfig.NodeBuilder | setTimeout(int timeout) |
NodeConfig.NodeBuilder | setTtl(long ttl) |
NodeConfig.NodeBuilder | setType(String type) |
void | setWaitWorker(int waitWorker) |
public NodeConfig.NodeBuilder setHostname(String hostname)
public NodeConfig.NodeBuilder setPort(int port)
public NodeConfig.NodeBuilder setType(String type)
public NodeConfig.NodeBuilder setBalancer(String balancer)
public NodeConfig.NodeBuilder setDomain(String domain)
public NodeConfig.NodeBuilder setJvmRoute(String jvmRoute)
public NodeConfig.NodeBuilder setFlushPackets(boolean flushPackets)
public NodeConfig.NodeBuilder setFlushwait(int flushwait)
public NodeConfig.NodeBuilder setPing(int ping)
public NodeConfig.NodeBuilder setSmax(int smax)
public NodeConfig.NodeBuilder setMaxConnections(int maxConnections)
public NodeConfig.NodeBuilder setCacheConnections(int cacheConnections)
public NodeConfig.NodeBuilder setRequestQueueSize(int requestQueueSize)
public NodeConfig.NodeBuilder setQueueNewRequests(boolean queueNewRequests)
public NodeConfig.NodeBuilder setTtl(long ttl)
public NodeConfig.NodeBuilder setTimeout(int timeout)
public NodeConfig build() throws URISyntaxException
URISyntaxException
public void setWaitWorker(int waitWorker)
public int getWaitWorker()
Copyright © 2020 JBoss by Red Hat. All rights reserved.