my dog learned polymorphism*
The moose likes Java in General and the fly likes can we Do Calss Level Locking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "can we Do Calss Level Locking" Watch "can we Do Calss Level Locking" New topic

can we Do Calss Level Locking

sirisha makkapati
Ranch Hand

Joined: Dec 10, 2006
Posts: 83
Can We Do Class Level Locking in Java,How can We Achieve this.
Edwin Dalorzo
Ranch Hand

Joined: Dec 31, 2004
Posts: 961
You mean somewhat like:

The same happens when you synchronize a static method.

wood burning stoves
subject: can we Do Calss Level Locking
Similar Threads
Locking and concurrent Access.
Monkhouse DVD example: 2 levels of locking
URLy BIRD : record level locking vs file level locking
JPA optional uniqueness check possible?
What is Class Locking?