From 742e19dca031dc15aa54ea9b0e64bf485478627d Mon Sep 17 00:00:00 2001 From: kenneth_suter <kenneth_suter@localhost> Date: Tue, 16 Oct 2007 20:19:45 +0000 Subject: [PATCH] Issue 2368: tasks should be interruptable. The four schedulable task (import-ldif, export-ldif, backup, and restore) can now be interrupted for purposes of cancellation. The manage-tasks utility now allows the user to cancel any one of these tasks if they are currently running. If interrupted while executing, the tasks try to break out of their work loop as soon as possible and return a 'stopped by administrator' status. Both the backup and export-ldif tasks perform some cleanup (removing the abandoned backup or exported LDIF file) if they are cancelled. --- opendj-sdk/opends/src/messages/messages/task.properties | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/opendj-sdk/opends/src/messages/messages/task.properties b/opendj-sdk/opends/src/messages/messages/task.properties index a751b3a..a9c05b4 100644 --- a/opendj-sdk/opends/src/messages/messages/task.properties +++ b/opendj-sdk/opends/src/messages/messages/task.properties @@ -185,4 +185,5 @@ INFO_IMPORT_ARG_CLEAR_BACKEND_98=Clear Backend INFO_FAILED_DEPENDENCY_ACTION_PROCESS_99=Process INFO_FAILED_DEPENDENCY_ACTION_CANCEL_100=Cancel -INFO_FAILED_DEPENDENCY_ACTION_DISABLE_101=Disable \ No newline at end of file +INFO_FAILED_DEPENDENCY_ACTION_DISABLE_101=Disable +INFO_TASK_STOPPED_BY_ADMIN_102=Task was stopped by an administrator: %s \ No newline at end of file -- Gitblit v1.10.0