[hornetq-commits] JBoss hornetq SVN: r9183 - trunk/src/main/org/hornetq/core/journal.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Apr 28 19:13:27 EDT 2010
Author: clebert.suconic at jboss.com
Date: 2010-04-28 19:13:26 -0400 (Wed, 28 Apr 2010)
New Revision: 9183
Modified:
trunk/src/main/org/hornetq/core/journal/SequentialFileFactory.java
Log:
just javadoc
Modified: trunk/src/main/org/hornetq/core/journal/SequentialFileFactory.java
===================================================================
--- trunk/src/main/org/hornetq/core/journal/SequentialFileFactory.java 2010-04-28 22:11:06 UTC (rev 9182)
+++ trunk/src/main/org/hornetq/core/journal/SequentialFileFactory.java 2010-04-28 23:13:26 UTC (rev 9183)
@@ -32,6 +32,12 @@
boolean isSupportsCallbacks();
+ /**
+ * Note: You need to release the buffer if is used for reading operations.
+ * You don't need to do it if using writing operations (AIO Buffer Lister will take of writing operations)
+ * @param size
+ * @return
+ */
ByteBuffer newBuffer(int size);
void releaseBuffer(ByteBuffer buffer);
More information about the hornetq-commits
mailing list