• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Performance Question

 
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,

I came across this question and was unable to answer this. Can anyone help me regarding this question?

This is the given Class



Here were the questions asked.

1. What does this class do?
2. Rename the class and its members in such a way that it is more clear what this class does.
3. Generify the class.
4. Improve performance of the class in concurrent environment using the Java Concurrency package.
Explain why the performance is better.
5. Write a test which demonstrates performance improvement in a concurrent environment.

[Added CodeTags]
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Help with what, specifically? This looks like homework that you should be doing in order to learn. Folks here are not going to do it for you.

So: What thoughts have you had on any of these? Where are you stuck making progress?
 
Nilesh Raje
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes it is homework. But I am not good at Synchronize thingy.! My concepts are not clear about this. I did do my other homework . So please do tell me what would be your answers? I will make sure i shall study that later but the reason i posted is i am running short of time n i need this to be done asap.

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic