com.openexchange.admin.taskmanagement
Class TaskManager

java.lang.Object
  extended by com.openexchange.admin.taskmanagement.TaskManager

public class TaskManager
extends Object


Method Summary
 int addJob(Callable<?> jobcall, String typeofjob, String furtherinformation)
           
 void deleteJob(int id)
           
 void flush()
           
static TaskManager getInstance()
           
 String getJobList()
           
 ExtendedFutureTask<?> getTask(int jid)
           
 boolean jobsRunning()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TaskManager getInstance()

addJob

public int addJob(Callable<?> jobcall,
                  String typeofjob,
                  String furtherinformation)

jobsRunning

public boolean jobsRunning()

shutdown

public void shutdown()

getTask

public ExtendedFutureTask<?> getTask(int jid)

getJobList

public String getJobList()

deleteJob

public void deleteJob(int id)
               throws TaskManagerException
Throws:
TaskManagerException

flush

public void flush()
           throws TaskManagerException
Throws:
TaskManagerException