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 memory considerations of jsp compares to other web components?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
What is table mutation and how do you avoid it?
Can I map more than one table in a cmp?
How a component can be placed on Windows?
How will you pass parameters in RMI? Why do you serialize?
Which javutil classes and interfaces support event handling?
What value does readline() return when it has reached the end of a file?
What is the relationship between local interfaces and container-managed relationships?
Can you give me a simple example of using the requiredif validator rule?
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Where can I ask questions and make suggestions about seam?
What is glasgow?
Do I need to import javlang package any time? Why ?