What is Lock Based Protocol and what is its use?
Answer Posted / amit yadav
A lock is a mechanism to control concurrent access to a data
item
Data items can be locked in two modes :
1. exclusive (X) mode. Data item can be both read as well as
written. X-lock is requested using lock-X instruction.
2. shared (S) mode. Data item can only be read. S-lock is
requested using lock-S instruction.
Lock requests are made to concurrency-control manager.
Transaction can
proceed only after request is granted.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What are the sequence of steps to write pub or sub model kind of application?
What is RMI and what are the services in RMI?
Explain RMI Architecture?
Why does the option tag render selected=selected instead of just selected?
How to deploy Jar, War files in J2EE?
which book is better for jdbc ,servlets and jsp
Do we need to override service() method
Difference between loadclass and class.forname?
Are there books about seam?
What is the difference between RMI and Corba?
What is a modular application? What does module-relative mean?
Do you think that java should have had pointers?
What is the difference between a static and a non-static inner class?
Difference between DurableSubscription and non- DurableSubscription?
How database connectivity in XML is achieved?