[hornetq-commits] JBoss hornetq SVN: r11380 - branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/paging.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Sep 21 05:52:24 EDT 2011


Author: borges
Date: 2011-09-21 05:52:24 -0400 (Wed, 21 Sep 2011)
New Revision: 11380

Modified:
   branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/paging/PagingStore.java
Log:
Add javadoc to page(...)

Modified: branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/paging/PagingStore.java
===================================================================
--- branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/paging/PagingStore.java	2011-09-20 23:57:01 UTC (rev 11379)
+++ branches/HORNETQ-720_Replication/hornetq-core/src/main/java/org/hornetq/core/paging/PagingStore.java	2011-09-21 09:52:24 UTC (rev 11380)
@@ -72,6 +72,11 @@
 
    boolean page(ServerMessage message, RoutingContext ctx) throws Exception;
 
+   /**
+    * Write message to page if we are paging.
+    * @return {@code true} if we are paging and have handled the data, {@code false} if the data
+    *         needs to be sent to the journal
+    */
    boolean page(ServerMessage message, RoutingContext ctx, RouteContextList listCtx) throws Exception;
 
    Page createPage(final int page) throws Exception;



More information about the hornetq-commits mailing list