public class NodeConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NodeConfig.NodeBuilder |
Modifier and Type | Method and Description |
---|---|
static NodeConfig.NodeBuilder |
builder(ModCluster modCluster) |
String |
getBalancer()
Getter for balancer
|
int |
getCacheConnections()
Get the amount of connections which should be kept alive in the connection pool.
|
URI |
getConnectionURI()
Get the connection URI.
|
String |
getDomain()
Getter for domain
|
int |
getFlushwait()
Getter for flushwait
|
String |
getJvmRoute() |
int |
getMaxConnections()
Get the maximum connection limit for a nodes thread-pool.
|
int |
getPing()
Getter for ping
|
int |
getRequestQueueSize()
Get the max queue size for requests.
|
int |
getSmax()
Getter for smax
|
int |
getTimeout()
Getter for timeout
|
long |
getTtl()
Getter for ttl
|
boolean |
isFlushPackets() |
boolean |
isQueueNewRequests()
Flag indicating whether requests without a session can be queued.
|
void |
setFlushPackets(boolean flushPackets) |
public URI getConnectionURI()
public String getDomain()
public int getFlushwait()
public int getPing()
public int getSmax()
public long getTtl()
public int getTimeout()
public String getBalancer()
public boolean isFlushPackets()
public void setFlushPackets(boolean flushPackets)
public String getJvmRoute()
public int getMaxConnections()
public int getCacheConnections()
public int getRequestQueueSize()
public boolean isQueueNewRequests()
public static NodeConfig.NodeBuilder builder(ModCluster modCluster)
Copyright © 2019 JBoss by Red Hat. All rights reserved.