Author: jfrederic.clere(a)jboss.com
Date: 2008-07-11 08:34:56 -0400 (Fri, 11 Jul 2008)
New Revision: 708
Modified:
trunk/java/org/jboss/web/cluster/ClusterListener.java
Log:
Move the synchronized from reset() to status().
Modified: trunk/java/org/jboss/web/cluster/ClusterListener.java
===================================================================
--- trunk/java/org/jboss/web/cluster/ClusterListener.java 2008-07-11 09:25:48 UTC (rev
707)
+++ trunk/java/org/jboss/web/cluster/ClusterListener.java 2008-07-11 12:34:56 UTC (rev
708)
@@ -897,7 +897,7 @@
/**
* Reset configuration for a particular proxy following an error.
*/
- protected synchronized void reset(int pos) {
+ protected void reset(int pos) {
Service[] services = ServerFactory.getServer().findServices();
for (int i = 0; i < services.length; i++) {
@@ -1027,7 +1027,7 @@
*
* @param engine
*/
- protected void status(Engine engine) {
+ protected synchronized void status(Engine engine) {
// Check to add or remove proxies, and rebuild a new list if needed
synchronized (this) {
Show replies by date