[jboss-svn-commits] JBL Code SVN: r30688 - labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/recovery.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Dec 15 15:54:15 EST 2009


Author: mark.little at jboss.com
Date: 2009-12-15 15:54:14 -0500 (Tue, 15 Dec 2009)
New Revision: 30688

Modified:
   labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/recovery/RecoveryManager.java
Log:
https://jira.jboss.org/jira/browse/JBTM-583

Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/recovery/RecoveryManager.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/recovery/RecoveryManager.java	2009-12-15 20:40:10 UTC (rev 30687)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/recovery/RecoveryManager.java	2009-12-15 20:54:14 UTC (rev 30688)
@@ -186,34 +186,6 @@
     }
 
     /**
-     * Stop the periodic recovery manager waiting for any recovery scan in progress to complete.
-     *
-     * @throws IllegalStateException if the recovery manager has been shutdown.
-     *
-     * @deprecated use terminate instead.
-     */
-
-    public final void stop ()
-    {
-        stop(false);
-    }
-
-    /**
-     * Stop the periodic recovery manager.
-     * @param async false means wait for any recovery scan in progress to complete.
-     * @throws IllegalStateException if the recovery manager has been shutdown.
-     *
-     * @deprecated use terminate instead.
-     */
-
-    public final void stop (boolean async)
-    {
-        checkState();
-
-        _theImple.stop(async);
-    }
-
-    /**
      * Terminate and cleanup the recovery manager. There is no going back from this. This is a
      * synchronous operation so return means that the recovery has completed.
      *
@@ -282,23 +254,8 @@
      *
      * @param async false means wait for the recovery manager to finish any scans before returning.
      * @throws IllegalStateException if the recovery manager has been shutdown.
-     * @deprecated use suspend
      */
 
-    public void suspendScan (boolean async)
-    {
-        suspend(async);
-    }
-
-    /**
-     * Suspend the recovery manager. If the recovery manager is in the process of
-     * doing recovery scans then it will be suspended afterwards, in order to
-     * preserve data integrity.
-     *
-     * @param async false means wait for the recovery manager to finish any scans before returning.
-     * @throws IllegalStateException if the recovery manager has been shutdown.
-     */
-
     public void suspend (boolean async)
     {
         checkState();
@@ -308,18 +265,8 @@
 
     /**
      * @throws IllegalStateException if the recovery manager has been shutdown.
-     * @deprecated use resume
      */
 
-    public void resumeScan ()
-    {
-        resume();
-    }
-
-    /**
-     * @throws IllegalStateException if the recovery manager has been shutdown.
-     */
-
     public void resume ()
     {
         checkState();



More information about the jboss-svn-commits mailing list