• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Conversion from single-threaded to multi-threaded

 
Sai Swami
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Geniuses,

Can anyone please help me out with this?

Design a framework (class diagram only) for converting a single-threaded process working on a collection of objects to multi-threaded process working on a batch from the collection. It should support the following features:
•Interfaces needed to be implemented by the client applications should be clearly defined by the framework.
•Logic of splitting and aggregating the objects from collection should be delegated to the client applications (i.e. this logic won’t be part of the framework)
•Should allow configuration of the number of threads as well as the batch size


Any sketchy idea would be fine.


Thanks,
Sai
 
K. Tsang
Bartender
Posts: 3521
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So do you currently have a single-threaded app or nothing at all?
 
Sai Swami
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing exists right now. No sequence diagram is necessary. Only a class diagram.
 
Sean Doherty
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
LOL, need a class diagram for the classes which don't exist! Do you own homework
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic