[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Thu Feb 15 23:17:30 EST 2007
User: rsigal
Date: 07/02/15 23:17:30
Modified: src/main/org/jboss/remoting Tag: remoting_2_x
ServerInvoker.java
Log:
JBREM-657: Made clientLeases a ConcurrentHashMap.
Revision Changes Path
No revision
No revision
1.52.2.28 +3 -5 JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java,v
retrieving revision 1.52.2.27
retrieving revision 1.52.2.28
diff -u -b -r1.52.2.27 -r1.52.2.28
--- ServerInvoker.java 15 Feb 2007 08:54:42 -0000 1.52.2.27
+++ ServerInvoker.java 16 Feb 2007 04:17:30 -0000 1.52.2.28
@@ -43,6 +43,8 @@
import org.jboss.util.threadpool.ThreadPoolMBean;
import org.jboss.logging.Logger;
+import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap;
+
import javax.management.MBeanServer;
import javax.management.MBeanServerInvocationHandler;
import javax.management.MalformedObjectNameException;
@@ -65,7 +67,7 @@
* @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
* @author <a href="mailto:ovidiu at jboss.org">Ovidiu Feodorov</a>
*
- * @version $Revision: 1.52.2.27 $
+ * @version $Revision: 1.52.2.28 $
*/
public abstract class ServerInvoker extends AbstractInvoker implements ServerInvokerMBean
{
@@ -201,7 +203,7 @@
// indicates the lease timeout period for clients
private long leasePeriod = DEFAULT_CLIENT_LEASE_PERIOD;
private boolean leaseManagement = false;
- private Map clientLeases = new HashMap();
+ private Map clientLeases = new ConcurrentHashMap();
protected Map handlers = new HashMap();
@@ -923,10 +925,6 @@
log.error("maxOnewayThreadPoolQueueSize parameter has invalid format: " + param);
}
}
- else
- {
- log.error("maxOnewayThreadPoolQueueSize parameter must be in integer format: " + param);
- }
onewayThreadPoolClass = (String)config.get(ONEWAY_THREAD_POOL_CLASS_KEY);
More information about the jboss-cvs-commits
mailing list