From 923b0503c91aa4a9c0bc94489caddf9ac94c5ad8 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 26 May 2008 22:14:52 +0000 Subject: Two phase commit protocol works. --- sources/core/VSTaskManager.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sources/core/VSTaskManager.java') diff --git a/sources/core/VSTaskManager.java b/sources/core/VSTaskManager.java index 8572cec..08cb767 100644 --- a/sources/core/VSTaskManager.java +++ b/sources/core/VSTaskManager.java @@ -256,6 +256,16 @@ public class VSTaskManager { return false; } + /** + * Removes several tasks + * + * @param tasks the tasks to remove + */ + public void removeAllTasks(ArrayList tasks) { + for (VSTask task : tasks) + removeTask(task); + } + /** * Removes the tasks of the specified process. * -- cgit v1.2.3