What is Lock Based Protocol and what is its use?
Answers were Sorted based on User's Feedback
Answer / bhargavi
lock based protocol: Once one transaction is accessing the
data,no other transaction is made to modify the data.
(or)
A locking protocol is a set of rules to be followed by each
transaction to ensure that, even though actions of several
transactions might be interleaved,the net effect is
identical to executing all transactions in some serial order.
| Is This Answer Correct ? | 55 Yes | 9 No |
Answer / 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 |
Explain ioc concept?
types of exceptions
Describe activation process?
Can I use multiple html form elements with the same name?
what is singleton class? where it mainly used in the projects?
On a computer that having single CPU, how multithreading concept can be achieved?
Hi I have joined java course. I also want additional help from any tutorials website. Please suggest me tutorials which provides easy to understand online applet tutorials?
which deployment descriptor element is used to configure the authentication method? a. auth-config b. login-config c. sec-config
Explain the life cycle of servlet?
What event results from the clicking of a button?
Which Taglibraury you used in your project? plz send me ans....which we r using generally
whats is mean by object and class?