Author: bstansberry(a)jboss.com
Date: 2008-10-28 19:36:28 -0400 (Tue, 28 Oct 2008)
New Revision: 2017
Modified:
trunk/mod_cluster/src/main/resources/mod-cluster-jboss-beans.xml
Log:
Expose the system property replacement mechanism for configuring advertise
Modified: trunk/mod_cluster/src/main/resources/mod-cluster-jboss-beans.xml
===================================================================
--- trunk/mod_cluster/src/main/resources/mod-cluster-jboss-beans.xml 2008-10-28 23:02:50
UTC (rev 2016)
+++ trunk/mod_cluster/src/main/resources/mod-cluster-jboss-beans.xml 2008-10-28 23:36:28
UTC (rev 2017)
@@ -20,10 +20,10 @@
addition to having them defined in proxyList. -->
<!-- Whether to listen for advertise messages -->
<property name="advertise">true</property>
- <!-- Multicast address to listen on for advertisements -->
- <!--property
name="advertiseGroupAddress">${jboss.modcluster.advertise.address,jboss.partition.udpGroup:224.0.1.105}</property-->
+ <!-- Multicast address on which to listen for advertisements -->
+ <property
name="advertiseGroupAddress">${jboss.modcluster.advertise.address,jboss.partition.udpGroup:224.0.1.105}</property>
<!-- Port to listen to for advertisements -->
- <!--property
name="advertisePort">${jboss.modcluster.advertise.address:23364}</property-->
+ <property
name="advertisePort">${jboss.modcluster.advertise.address:23364}</property>
<!-- Security key the proxy is going to send with advertise messages.
Default is none. -->
@@ -116,12 +116,19 @@
<!-- Alternative load balance factor providers -->
- <!-- Basic impl that returns a static load balance factor -->
+ <!-- Basic impl that returns a static load balance factor.
+ This would replace the DynamicLoadBalanceFactorProvider
+ used above.
+ -->
<bean name="StaticLoadBalanceFactorProvider"
class="org.jboss.modcluster.load.impl.StaticLoadBalanceFactorProvider"
mode="On Demand">
<property name="loadBalanceFactor">1</property>
</bean>
- <!-- Alternative load metrics, grouped by source -->
+ <!--
+ Alternative load metrics, grouped by source.
+ To use these, inject them into the set passed to the
+ DynamicLoadBalanceFactorProvider bean's constructor above.
+ -->
<!-- CPU usage -->
<!-- Perhaps the best metric for determining system load - but only available on
Java 1.6 or later -->
Show replies by date