Author: clebert.suconic(a)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);
Show replies by date