Package org.jboss.modcluster.config.impl
Class NodeConfigurationImpl
java.lang.Object
org.jboss.modcluster.config.impl.NodeConfigurationImpl
- All Implemented Interfaces:
NodeConfiguration
- Since:
- 1.3.6.Final
- Author:
- Radoslav Husar
-
Constructor Summary
ConstructorDescriptionNodeConfigurationImpl
(String loadBalancingGroup, boolean flushPackets, int flushWait, int ping, int smax, int ttl, int nodeTimeout, String balancer) -
Method Summary
Modifier and TypeMethodDescriptionName of the balancer.boolean
Allows controlling flushing of packets.int
Time to wait before flushing packets.Indicates the group of servers to which this node belongs.int
Maximum time on seconds for idle connections the proxy will wait to connect to the node.int
getPing()
Time to wait for a pong answer to a ping.int
getSmax()
Soft maximum inactive connection count.int
getTtl()
Maximum time on seconds for idle connections above smax.
-
Constructor Details
-
NodeConfigurationImpl
-
-
Method Details
-
getLoadBalancingGroup
Description copied from interface:NodeConfiguration
Indicates the group of servers to which this node belongs. If defined, mod_cluster will always attempt to failover a given request to a node in the same group as the failed node. This property is equivalent to the mod_jk domain directive.- Specified by:
getLoadBalancingGroup
in interfaceNodeConfiguration
-
getFlushPackets
public boolean getFlushPackets()Description copied from interface:NodeConfiguration
Allows controlling flushing of packets.- Specified by:
getFlushPackets
in interfaceNodeConfiguration
-
getFlushWait
public int getFlushWait()Description copied from interface:NodeConfiguration
Time to wait before flushing packets.- Specified by:
getFlushWait
in interfaceNodeConfiguration
-
getPing
public int getPing()Description copied from interface:NodeConfiguration
Time to wait for a pong answer to a ping.- Specified by:
getPing
in interfaceNodeConfiguration
-
getSmax
public int getSmax()Description copied from interface:NodeConfiguration
Soft maximum inactive connection count.- Specified by:
getSmax
in interfaceNodeConfiguration
-
getTtl
public int getTtl()Description copied from interface:NodeConfiguration
Maximum time on seconds for idle connections above smax.- Specified by:
getTtl
in interfaceNodeConfiguration
-
getNodeTimeout
public int getNodeTimeout()Description copied from interface:NodeConfiguration
Maximum time on seconds for idle connections the proxy will wait to connect to the node.- Specified by:
getNodeTimeout
in interfaceNodeConfiguration
-
getBalancer
Description copied from interface:NodeConfiguration
Name of the balancer.- Specified by:
getBalancer
in interfaceNodeConfiguration
-