cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1053169 - /cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/net/MessagingService.java
Date Mon, 27 Dec 2010 20:16:07 GMT
Author: jbellis
Date: Mon Dec 27 20:16:07 2010
New Revision: 1053169

URL: http://svn.apache.org/viewvc?rev=1053169&view=rev
Log:
rename messageId parameters

Modified:
    cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/net/MessagingService.java

Modified: cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/net/MessagingService.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/net/MessagingService.java?rev=1053169&r1=1053168&r2=1053169&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/net/MessagingService.java
(original)
+++ cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/net/MessagingService.java
Mon Dec 27 20:16:07 2010
@@ -396,29 +396,29 @@ public class MessagingService
         }
     }
 
-    public static IAsyncCallback getRegisteredCallback(String key)
+    public static IAsyncCallback getRegisteredCallback(String messageId)
     {
-        return callbackMap_.get(key);
+        return callbackMap_.get(messageId);
     }
     
-    public static void removeRegisteredCallback(String key)
+    public static void removeRegisteredCallback(String messageId)
     {
-        callbackMap_.remove(key);
+        callbackMap_.remove(messageId);
     }
     
-    public static IAsyncResult getAsyncResult(String key)
+    public static IAsyncResult getAsyncResult(String messageId)
     {
-        return taskCompletionMap_.remove(key);
+        return taskCompletionMap_.remove(messageId);
     }
 
-    public static long getRegisteredCallbackAge(String key)
+    public static long getRegisteredCallbackAge(String messageId)
     {
-        return callbackMap_.getAge(key);
+        return callbackMap_.getAge(messageId);
     }
 
-    public static long getAsyncResultAge(String key)
+    public static long getAsyncResultAge(String messageId)
     {
-        return taskCompletionMap_.getAge(key);
+        return taskCompletionMap_.getAge(messageId);
     }
 
     public static void validateMagic(int magic) throws IOException



Mime
View raw message