batBot:Requests in multiple threadsFrom WikiJavabatBot:requests in multiple threads The requests must be conducted in multiple threads
descriptionThere must be created a specific thread per each request, to simplify the management of each request. ManagerUser:DonGiulio is the manager for this requirement. Send DonGiulio an email Features under Developmentfeature: Create and run the threadsGenerate a thread per each request, run the threads, and manage synchronization between threads. task: create ThreadedRequest objectCreate the ThreadedRequest Class. The Class Note that the method accessing the internet connection must be synchronized, as we don't want to mess up with the access to the resource. skills required:
task: create a threadGenerate a thread per some of the requests. Don't run the threads just create them and save them in separate objects. skills required:
task: execute a Threadrun the threads generated in the create a thread task. skills required:
feature: Generate List of Threadsall the threads created are listed in a list of threads the list of threads contains a timing value which tells when the thread has to be run. We want also to manage the running of the threads in the list. (don't mind the timing, just run them in order) task: Create Threads ListGenerate a thread per each request don't run the threads just create them and save them in a List<ThreadedRequest> threadedRequests object. skills required:
task: Execute Threads ListRun all the threads in the order given in the skills required:
See also |
