Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

String is immutable.it is true String can be change to mutable How?

6 Answers   IBM, Professional Access, TCS,


Explain what is orm?

0 Answers  


What is bean? Where can it be used?

0 Answers  


What is Introspection?

2 Answers  


What is the difference between Process and Threads?

19 Answers  


How to determine SGA site?

0 Answers   Wipro,


can any one tell me how to learn good coding techniques

3 Answers  


What is Bootstrapping in RMI?

1 Answers  


Is the ternary operator written x : y ? Z or x ? Y : z ?

0 Answers  


What is the relation between the infobus and rmi?

0 Answers  


For which statements does it make sense to use a label?

0 Answers  


How to implement RMI in Java?

0 Answers   TCS,


Categories