[hornetq-commits] JBoss hornetq SVN: r7913 - trunk/src/main/org/hornetq/core/asyncio.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Aug 25 16:13:48 EDT 2009
Author: clebert.suconic at jboss.com
Date: 2009-08-25 16:13:48 -0400 (Tue, 25 Aug 2009)
New Revision: 7913
Modified:
trunk/src/main/org/hornetq/core/asyncio/AIOCallback.java
Log:
just a small tweak on javadoc
Modified: trunk/src/main/org/hornetq/core/asyncio/AIOCallback.java
===================================================================
--- trunk/src/main/org/hornetq/core/asyncio/AIOCallback.java 2009-08-25 15:29:32 UTC (rev 7912)
+++ trunk/src/main/org/hornetq/core/asyncio/AIOCallback.java 2009-08-25 20:13:48 UTC (rev 7913)
@@ -14,15 +14,19 @@
package org.hornetq.core.asyncio;
/**
- * The interface used AIO Callbacks.
+ * The interface used for AIO Callbacks.
* @author clebert.suconic at jboss.com
*
*/
public interface AIOCallback
{
- /** Leave this method as soon as possible, or you would be blocking the whole notification thread */
+ /**
+ * Method for sync notifications. When this callback method is called, there is a guarantee the data is written on the disk.
+ * <br><b>Note:</b><i>Leave this method as soon as possible, or you would be blocking the whole notification thread</i> */
void done();
- /** Observation: The whole file will be probably failing if this happens. Like, if you delete the file, you will start to get errors for these operations*/
+ /**
+ * Method for error notifications.
+ * Observation: The whole file will be probably failing if this happens. Like, if you delete the file, you will start to get errors for these operations*/
void onError(int errorCode, String errorMessage);
}
More information about the hornetq-commits
mailing list