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?

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


Please Help Members By Posting Answers For Below Questions

What are the sequence of steps to write pub or sub model kind of application?

2519


What is RMI and what are the services in RMI?

1177


Explain RMI Architecture?

1102


Why does the option tag render selected=selected instead of just selected?

1182


How to deploy Jar, War files in J2EE?

2699


which book is better for jdbc ,servlets and jsp

2106


Do we need to override service() method

1736


Difference between loadclass and class.forname?

1058


Are there books about seam?

1113


What is the difference between RMI and Corba?

2752


What is a modular application? What does module-relative mean?

1065


Do you think that java should have had pointers?

1067


What is the difference between a static and a non-static inner class?

1159


Difference between DurableSubscription and non- DurableSubscription?

2199


How database connectivity in XML is achieved?

2248