[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/multiplex ...
Ron Sigal
ron_sigal at yahoo.com
Wed Aug 23 03:26:34 EDT 2006
User: rsigal
Date: 06/08/23 03:26:34
Modified: src/main/org/jboss/remoting/transport/multiplex
MultiplexServerInvoker.java
Log:
JBREM-577: Removed and/or reduced level of some log calls.
Revision Changes Path
1.58 +7 -16 JBossRemoting/src/main/org/jboss/remoting/transport/multiplex/MultiplexServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MultiplexServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/multiplex/MultiplexServerInvoker.java,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- MultiplexServerInvoker.java 20 Aug 2006 08:54:30 -0000 1.57
+++ MultiplexServerInvoker.java 23 Aug 2006 07:26:33 -0000 1.58
@@ -385,7 +385,6 @@
public void stop()
{
- log.info("entering stop()");
// If running == false, super.stop() will not call cleanup().
// However, MultiplexServerInvoker could have stuff to clean up
// (socket group information) even if it didn't start.
@@ -676,9 +675,6 @@
protected void cleanup()
{
- // temporary:
- log.info("entering MultiplexServerInvoker.cleanup(): " + this);
-
// If running == false, SocketServerInvoker doesn't want to call cleanup().
if (running)
{
@@ -693,10 +689,9 @@
if (isVirtual)
{
- log.info("is virtual");
if (connectPrimingSocket != null)
{
- log.info("connect priming != null");
+ log.debug("connect priming != null");
// If !virtualServerInvokers.containsKey(connectPrimingSocket.getRemoteSocketAddress()),
// the master MultiplexServerInvoker might be iterating through virtualServerInvokers
// and shutting them down. This test avoids a NullPointerException.
@@ -709,7 +704,7 @@
try
{
- log.info("MultiplexServerInvoker: closing connect priming socket");
+ log.debug("MultiplexServerInvoker: closing connect priming socket");
connectPrimingSocket.close();
}
catch (IOException e)
@@ -727,7 +722,7 @@
if (it.hasNext())
{
- log.info("removing callback handlers");
+ log.debug("removing callback handlers");
ServerInvocationHandler defaultHandler = (ServerInvocationHandler) it.next();
ServerInvocationHandler handler = null;
ServerInvokerCallbackHandler callbackHandler = null;
@@ -749,7 +744,6 @@
}
else
{
- log.info("is master");
// Iterator it = virtualServerInvokers.values().iterator();
Iterator it = null;
synchronized (virtualServerInvokers)
@@ -757,14 +751,11 @@
it = new HashMap(virtualServerInvokers).values().iterator();
}
- log.info("copied virtualServerInvokers");
while (it.hasNext())
{
ServerInvoker serverInvoker = ((ServerInvoker) it.next());
it.remove();
- log.info("calling stop() on: " + serverInvoker.toString());
serverInvoker.stop();
- log.info("called stop() on: " + serverInvoker.toString());
}
}
@@ -777,7 +768,7 @@
if (socketGroupInfo.getClientInvokers().isEmpty())
{
- log.info("invoker group shutting down: " + socketGroupInfo.getSocketGroupId());
+ log.debug("invoker group shutting down: " + socketGroupInfo.getSocketGroupId());
if ((ps = socketGroupInfo.getPrimingSocket()) != null)
{
@@ -788,7 +779,7 @@
// not be reused by any other socket group.
ps.getManager().unregisterShareable();
- log.info("MultiplexServerInvoker: closing bind priming socket");
+ log.debug("MultiplexServerInvoker: closing bind priming socket");
try
{
ps.close();
More information about the jboss-cvs-commits
mailing list