| java.lang.Object vqwiki.utils.LongLastingOperationsManager
LongLastingOperationsManager | public class LongLastingOperationsManager (Code) | | Singleton class, which manages long lasting operations
This class was created on 00:25:22 23.07.2003
author: $Author: wrh2 $ |
onGoingThreads | Vector onGoingThreads(Code) | | a vector of all ongoing threads
|
getThreadForId | public Runnable getThreadForId(String idStr)(Code) | | Get a thread for a certain identifier
Parameters: string - The identifier of this thred the thread or null, if the thread cannot be found |
getThreadForId | public Runnable getThreadForId(int id)(Code) | | Get a thread for a certain identifier
int The identifier of this thred the thread or null, if the thread cannot be found |
registerNewThread | public synchronized int registerNewThread(Runnable r)(Code) | | Register a new thread to the manager
Parameters: t - The thread to register the id of this thread |
removeThreadById | public void removeThreadById(int id)(Code) | | Remove a thread by its identifier
Parameters: id - The id if the thread to be removed |
|
|