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 String
getBalancer()
Name of the balancer.boolean
getFlushPackets()
Allows controlling flushing of packets.int
getFlushWait()
Time to wait before flushing packets.String
getLoadBalancingGroup()
Indicates the group of servers to which this node belongs.int
getNodeTimeout()
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.
-
-
-
Method Detail
-
getLoadBalancingGroup
public String 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
public String getBalancer()
Description copied from interface:NodeConfiguration
Name of the balancer.- Specified by:
getBalancer
in interfaceNodeConfiguration
-
-