[jbosscache-commits] JBoss Cache SVN: r5785 - core/trunk/src/main/java/org/jboss/cache/commands.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Thu May 1 07:04:09 EDT 2008


Author: mircea.markus
Date: 2008-05-01 07:04:09 -0400 (Thu, 01 May 2008)
New Revision: 5785

Modified:
   core/trunk/src/main/java/org/jboss/cache/commands/ReplicableCommand.java
   core/trunk/src/main/java/org/jboss/cache/commands/ReversibleCommand.java
Log:
additional comments for commit/rollabck methods

Modified: core/trunk/src/main/java/org/jboss/cache/commands/ReplicableCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/ReplicableCommand.java	2008-05-01 08:59:38 UTC (rev 5784)
+++ core/trunk/src/main/java/org/jboss/cache/commands/ReplicableCommand.java	2008-05-01 11:04:09 UTC (rev 5785)
@@ -15,6 +15,8 @@
    /**
     * Performs the primary function of the command.  Please see specific implementation classes for details on what is
     * performed as well as return types.
+    * <b>Important</b>: this method will be invoked at the end of interceptors chain. It should never be called directly from
+    * a custom interceptor.
     *
     * @param ctx invocation context
     * @return arbitrary return value generated by performing this command

Modified: core/trunk/src/main/java/org/jboss/cache/commands/ReversibleCommand.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/commands/ReversibleCommand.java	2008-05-01 08:59:38 UTC (rev 5784)
+++ core/trunk/src/main/java/org/jboss/cache/commands/ReversibleCommand.java	2008-05-01 11:04:09 UTC (rev 5785)
@@ -13,6 +13,9 @@
 {
    /**
     * Reverses a command that has already been invoked.
+    *
+    * <b>Important</b>: this method will be invoked at the end of interceptors chain. It should never be called directly from
+    * a custom interceptor.
     */
    void rollback();
 




More information about the jbosscache-commits mailing list