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
ConstructorsConstructorDescriptionNodeConfigurationImpl(String loadBalancingGroup, boolean flushPackets, int flushWait, int ping, int smax, int ttl, int nodeTimeout, String balancer) -
Method Summary
Modifier and TypeMethodDescriptionName of the balancer.booleanAllows controlling flushing of packets.intTime to wait before flushing packets.Indicates the group of servers to which this node belongs.intMaximum time on seconds for idle connections the proxy will wait to connect to the node.intgetPing()Time to wait for a pong answer to a ping.intgetSmax()Soft maximum inactive connection count.intgetTtl()Maximum time on seconds for idle connections above smax.
-
Constructor Details
-
NodeConfigurationImpl
-
-
Method Details
-
getLoadBalancingGroup
Description copied from interface:NodeConfigurationIndicates 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:
getLoadBalancingGroupin interfaceNodeConfiguration
-
getFlushPackets
public boolean getFlushPackets()Description copied from interface:NodeConfigurationAllows controlling flushing of packets.- Specified by:
getFlushPacketsin interfaceNodeConfiguration
-
getFlushWait
public int getFlushWait()Description copied from interface:NodeConfigurationTime to wait before flushing packets.- Specified by:
getFlushWaitin interfaceNodeConfiguration
-
getPing
public int getPing()Description copied from interface:NodeConfigurationTime to wait for a pong answer to a ping.- Specified by:
getPingin interfaceNodeConfiguration
-
getSmax
public int getSmax()Description copied from interface:NodeConfigurationSoft maximum inactive connection count.- Specified by:
getSmaxin interfaceNodeConfiguration
-
getTtl
public int getTtl()Description copied from interface:NodeConfigurationMaximum time on seconds for idle connections above smax.- Specified by:
getTtlin interfaceNodeConfiguration
-
getNodeTimeout
public int getNodeTimeout()Description copied from interface:NodeConfigurationMaximum time on seconds for idle connections the proxy will wait to connect to the node.- Specified by:
getNodeTimeoutin interfaceNodeConfiguration
-
getBalancer
Description copied from interface:NodeConfigurationName of the balancer.- Specified by:
getBalancerin interfaceNodeConfiguration
-