[hornetq-commits] JBoss hornetq SVN: r10006 - in trunk/src/main/org/hornetq/core: server/impl and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Dec 7 07:35:51 EST 2010


Author: ataylor
Date: 2010-12-07 07:35:50 -0500 (Tue, 07 Dec 2010)
New Revision: 10006

Modified:
   trunk/src/main/org/hornetq/core/remoting/server/impl/RemotingServiceImpl.java
   trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
Log:
renamed parameters

Modified: trunk/src/main/org/hornetq/core/remoting/server/impl/RemotingServiceImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/remoting/server/impl/RemotingServiceImpl.java	2010-12-07 04:33:00 UTC (rev 10005)
+++ trunk/src/main/org/hornetq/core/remoting/server/impl/RemotingServiceImpl.java	2010-12-07 12:35:50 UTC (rev 10006)
@@ -257,7 +257,7 @@
       stop(false);
    }
 
-   public void stop(boolean clientFailover) throws Exception
+   public void stop(boolean failoverOnServerShutdown) throws Exception
    {
       if (!started)
       {
@@ -283,7 +283,7 @@
       {
          RemotingConnection conn = entry.connection;
 
-         conn.disconnect(clientFailover);
+         conn.disconnect(failoverOnServerShutdown);
       }
 
       for (Acceptor acceptor : acceptors)

Modified: trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java	2010-12-07 04:33:00 UTC (rev 10005)
+++ trunk/src/main/org/hornetq/core/server/impl/HornetQServerImpl.java	2010-12-07 12:35:50 UTC (rev 10006)
@@ -591,7 +591,7 @@
       stop(false);
    }
 
-   public void stop(boolean permanently) throws Exception
+   public void stop(boolean failoverOnServerShutdown) throws Exception
    {
       System.out.println("*** stop called on server");
 
@@ -624,7 +624,7 @@
       {
          System.out.println("HornetQServerImpl.stop");
       }
-      remotingService.stop(permanently);
+      remotingService.stop(failoverOnServerShutdown);
 
       synchronized (this)
       {
@@ -728,7 +728,7 @@
 
          if (activation != null)
          {
-            activation.close(permanently);
+            activation.close(failoverOnServerShutdown);
          }
 
          if (backupActivationThread != null)



More information about the hornetq-commits mailing list