[jboss-cvs] JBossCache/src/org/jboss/cache ...

Manik Surtani manik at jboss.org
Mon Jun 18 12:01:32 EDT 2007


  User: msurtani
  Date: 07/06/18 12:01:32

  Modified:    src/org/jboss/cache  CacheImpl.java
  Log:
  Timeout reduced
  
  Revision  Changes    Path
  1.94      +58 -51    JBossCache/src/org/jboss/cache/CacheImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
  retrieving revision 1.93
  retrieving revision 1.94
  diff -u -b -r1.93 -r1.94
  --- CacheImpl.java	15 Jun 2007 13:08:22 -0000	1.93
  +++ CacheImpl.java	18 Jun 2007 16:01:32 -0000	1.94
  @@ -927,8 +927,7 @@
         if (channel != null)
         {
            log.info("stop(): closing the channel");
  -         channel.close();
  -         channel.disconnect();
  +         killChannel();
            channel = null;
            configuration.getRuntimeConfig().setChannel(null);
         }
  @@ -3257,6 +3256,14 @@
         log = LogFactory.getLog(category.toString());
      }
   
  +   /**
  +    * Kills the JGroups channel; an unclean channel disconnect
  +    */
  +   public void killChannel()
  +   {
  +      channel.disconnect();
  +   }
  +
      protected class MessageListenerAdaptor implements ExtendedMessageListener
      {
         /**
  
  
  



More information about the jboss-cvs-commits mailing list