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 is the highest-level event class of the event-delegation model?
Difference between hashmap and hashtable?
What is the difference between the font and fontmetrics classes?
What is chat area? Explain.
What is aop(assepct oriented programing)?
What are local interfaces? Describe.
What is the relation between the infobus and rmi?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
what is the use of State Factories?
Why is actionform a base class rather than an interface?
what is an isolation level?
Difference between DurableSubscription and non- DurableSubscription?
What are the oops concept?
What is Remote Server?
Can I use multiple html form elements with the same name?