[infinispan-commits] Infinispan SVN: r111 - trunk/core/src/main/java/org/infinispan/commands/remote.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Tue Apr 14 08:54:23 EDT 2009


Author: manik.surtani at jboss.com
Date: 2009-04-14 08:54:23 -0400 (Tue, 14 Apr 2009)
New Revision: 111

Modified:
   trunk/core/src/main/java/org/infinispan/commands/remote/BaseRpcCommand.java
Log:
Made method call final to improve performance since this is a very frequently invoked method

Modified: trunk/core/src/main/java/org/infinispan/commands/remote/BaseRpcCommand.java
===================================================================
--- trunk/core/src/main/java/org/infinispan/commands/remote/BaseRpcCommand.java	2009-04-14 12:53:44 UTC (rev 110)
+++ trunk/core/src/main/java/org/infinispan/commands/remote/BaseRpcCommand.java	2009-04-14 12:54:23 UTC (rev 111)
@@ -36,7 +36,7 @@
    }
 
 
-   protected Object processCommand(InvocationContext ctx, ReplicableCommand cacheCommand) throws Throwable {
+   protected final Object processCommand(InvocationContext ctx, ReplicableCommand cacheCommand) throws Throwable {
       Object result;
       try {
          if (trace) log.trace("Invoking command " + cacheCommand + ", with originLocal flag set to false.");




More information about the infinispan-commits mailing list