What is Lock Based Protocol and what is its use?

Answers were Sorted based on User's Feedback



What is Lock Based Protocol and what is its use?..

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

What is Lock Based Protocol and what is its use?..

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

Post New Answer

More Advanced Java Interview Questions

iam writing the contents to a excel through I/O i am putting first statement as WRITE and then READ(from excel) immediately..later user complains that he is not getting the date by using READ ..wat could be the situation

3 Answers   iGate,


whats is mean by jndi

4 Answers   SolutionNET,


the advantages of polymorphic

1 Answers  


Explain the methods of Naming class, rebind( ) and lookup()?

1 Answers  


Difference Between java & javax

5 Answers   Sun Microsystems, Wipro,






In howmany ways a thread can be created?

3 Answers   HCL,


What value does read() return when it has reached the end of a file?

0 Answers  


What is the difference between a menuitem and a checkboxmenuitem?

0 Answers  


what is Bootstrap loader program?

1 Answers   Rossell Techsys,


What is codebase in applet?

2 Answers  


whats is mean by tiles in struts

0 Answers   SolutionNET,


which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based

1 Answers  


Categories