User: pra     
  Date: 02/02/17 09:51:17

  Modified:    src/main/org/jboss/mq/il/uil UILServerILService.java
  Log:
  Added numbering for worker threads
  
  Revision  Changes    Path
  1.17      +7 -3      jbossmq/src/main/org/jboss/mq/il/uil/UILServerILService.java
  
  Index: UILServerILService.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/uil/UILServerILService.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- UILServerILService.java   2 Feb 2002 04:02:23 -0000       1.16
  +++ UILServerILService.java   17 Feb 2002 17:51:17 -0000      1.17
  @@ -46,7 +46,7 @@
    * Implements the ServerILJMXService which is used to manage the JVM IL.
    *
    * @author    Hiram Chirino ([EMAIL PROTECTED])
  - * @version   $Revision: 1.16 $
  + * @version   $Revision: 1.17 $
    */
   public class UILServerILService extends org.jboss.mq.il.ServerILJMXService 
implements Runnable, UILServerILServiceMBean
   {
  @@ -89,7 +89,11 @@
      int serverBindPort = 0;
      InetAddress bindAddress = null;
      Thread worker;
  -
  +   
  +   /**
  +    * Number of OIL Worker threads started.
  +    */
  +   private int threadNumber = 0;
      /**
       * Used to construct the GenericConnectionFactory (bindJNDIReferences()
       * builds it) Sets up the connection properties need by a client to use this
  @@ -159,7 +163,7 @@
            }
   
            socket.setSoTimeout(0);
  -         new Thread(this, "UIL Worker").start();
  +         new Thread(this, "UIL Worker-"+threadNumber++).start();
   
            mSocket = new SocketMultiplexor(socket);
   
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to