This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • 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: 3348
12
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