Package org.jboss.modcluster.config.impl
Class NodeConfigurationImpl
- java.lang.Object
-
- org.jboss.modcluster.config.impl.NodeConfigurationImpl
-
- All Implemented Interfaces:
NodeConfiguration
public class NodeConfigurationImpl extends Object implements NodeConfiguration
- Since:
- 1.3.6.Final
- Author:
- Radoslav Husar
-
-
Constructor Summary
Constructors Constructor Description NodeConfigurationImpl(String loadBalancingGroup, boolean flushPackets, int flushWait, int ping, int smax, int ttl, int nodeTimeout, String balancer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBalancer()Name of the balancer.booleangetFlushPackets()Allows controlling flushing of packets.intgetFlushWait()Time to wait before flushing packets.StringgetLoadBalancingGroup()Indicates the group of servers to which this node belongs.intgetNodeTimeout()Maximum 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.
-
-
-
Method Detail
-
getLoadBalancingGroup
public String 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
public String getBalancer()
Description copied from interface:NodeConfigurationName of the balancer.- Specified by:
getBalancerin interfaceNodeConfiguration
-
-