• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

passed at 354

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My Score: 354
General Considerations (maximum = 100): 96
Documentation (maximum = 70): 70
O-O Design (maximum = 30): 24
GUI (maximum = 40): 40
Locking (maximum = 80): 44
Data store (maximum = 40): 40
Network server (maximum = 40): 40
I still don't why I only get 44 out of 80 in Locking (like some others). IMO, the locking should be perfect.
Cheers!
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rick:
First of all, contratulations!


I still don't why I only get 44 out of 80 in Locking (like some others). IMO, the locking should be perfect.


This mysterious locking grade---hmmm. Not exactly certain what they are looking for here. On one hand they are quite elusive in their requirements for locking, on the other hand, they think nothing about taking 50% off the locking grade!
 
author and jackaroo
Posts: 12199
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations Rick
 
Ranch Hand
Posts: 619
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations Rick


Locking (maximum = 80): 44


The locking score mystery continues...
Best wishes in your next endeavor.
 
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Rick
One more with 44/80 locking score. Guys am feeling very nervous with all the locking scores.
Rick, any idea of what went wrong? I am just wondering if you can answer a couple of questions.
1. Did you wait on lockManager(if you had one) or on the record in lock method?
2. And did you use notfiy or notifyAll in the unlock method?
Thanks for the input.
 
Ranch Hand
Posts: 578
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrad!
I also wonder why I got 44/80 in locking, as I have used Stress Test to test the system before, without any errors encountered.
Anyway, you did a cool job!

Nick
 
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Way to go, Rick.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Great job Rick.
Mark
 
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congratulations, Rick!
Phil.
 
Rick Lu
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


1. Did you wait on lockManager(if you had one) or on the record in lock method?


My locking mechanism is on record-level. Only those clients who works on same records have to wait.


2. And did you use notfiy or notifyAll in the unlock method?


I used notifyAll here. But actually notify should be also OK. I don't remember exactly. But one article said that notify is preferred. This is not worth 40 scores, right?
I also did stress testing. Everything seems good. Why?
 
reply
    Bookmark Topic Watch Topic
  • New Topic