/** * @throws IllegalStateException if the recovery manager has been shutdown. */ public void resume () { checkState(); _theImple.resumeScan(); }
/** * Start the recovery manager thread. * * @throws IllegalStateException if the recovery manager has been shutdown. */ public void startRecoveryManagerThread() { checkState(); _theImple.start() ; }
/** * Remove a recovery module from the system. * * @param module The module to remove. * @param waitOnScan true if the remove operation should wait for any in-progress scan to complete * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void removeModule (RecoveryModule module, boolean waitOnScan) { checkState(); _theImple.removeModule(module, waitOnScan); }
/** * Remove a recovery module from the system. * * @param module The module to remove. * @param waitOnScan true if the remove operation should wait for any in-progress scan to complete * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void removeModule (RecoveryModule module, boolean waitOnScan) { checkState(); _theImple.removeModule(module, waitOnScan); }
/** * Start the recovery manager thread. * * @throws IllegalStateException if the recovery manager has been shutdown. */ public void startRecoveryManagerThread() { checkState(); _theImple.start() ; }
/** * wait for the recovery thread to be shutdown. n.b. this will not return unless and until shutdown * is called. * * @throws IllegalStateException if the recovery manager has been shutdown. */ public void waitForTermination () { checkState(); _theImple.waitForTermination(); _theImple = null; }
/** * Obtain a snapshot list of available recovery modules. * * @return a snapshot list of the currently installed recovery modules * @throws IllegalStateException if the recovery manager has been shutdown. */ public final Vector<RecoveryModule> getModules () { checkState(); return _theImple.getModules(); }
/** * Force a recovery scan now. This is a blocking operation * and will only return once the recovery scan has completed. * * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void scan () { checkState(); _theImple.scan(); }
/** * Obtain a snapshot list of available recovery modules. * * @return a snapshot list of the currently installed recovery modules * @throws IllegalStateException if the recovery manager has been shutdown. */ public final Vector<RecoveryModule> getModules () { checkState(); return _theImple.getModules(); }
/** * Force a recovery scan now. This is a blocking operation * and will only return once the recovery scan has completed. * * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void scan () { checkState(); _theImple.scan(); }
/** * Start the recovery manager thread. * * @throws IllegalStateException if the recovery manager has been shutdown. */ public void startRecoveryManagerThread() { checkState(); _theImple.start() ; }
/** * Add a recovery module to the system. * * @param module module The module to add. * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void addModule (RecoveryModule module) { checkState(); _theImple.addModule(module); }
/** * Remove a recovery module from the system. * * @param module The module to remove. * @param waitOnScan true if the remove operation should wait for any in-progress scan to complete * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void removeModule (RecoveryModule module, boolean waitOnScan) { checkState(); _theImple.removeModule(module, waitOnScan); }
/** * Force a recovery scan now. This is a blocking operation * and will only return once the recovery scan has completed. * * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void scan () { checkState(); _theImple.scan(); }
/** * Add a recovery module to the system. * * @param module module The module to add. * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void addModule (RecoveryModule module) { checkState(); _theImple.addModule(module); }
/** * Remove all modules. * * WARNING: Use with extreme care as this will stop recovery from doing anything! */ public final void removeAllModules (boolean waitOnScan) { checkState(); _theImple.removeAllModules(waitOnScan); }
/** * Force a recovery scan now. This is a blocking operation * and will only return once the recovery scan has completed. * * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void scan () { checkState(); _theImple.scan(); }
/** * Add a recovery module to the system. * * @param module module The module to add. * @throws IllegalStateException if the recovery manager has been shutdown. */ public final void addModule (RecoveryModule module) { checkState(); _theImple.addModule(module); }
/** * Obtain a snapshot list of available recovery modules. * * @return a snapshot list of the currently installed recovery modules * @throws IllegalStateException if the recovery manager has been shutdown. */ public final Vector<RecoveryModule> getModules () { checkState(); return _theImple.getModules(); }
/** * Obtain a snapshot list of available recovery modules. * * @return a snapshot list of the currently installed recovery modules * @throws IllegalStateException if the recovery manager has been shutdown. */ public final Vector<RecoveryModule> getModules () { checkState(); return _theImple.getModules(); }