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

How are the elements of a cardlayout organized?

1073


Brief description about local interfaces?

1246


How substring() method of string class create memory leaks?

1027


What is the highest-level event class of the event-delegation model?

1079


Name the class that is used to bind the server object with RMI Registry?

2151


Why do I get a duplicate name error when loading a jar file?

1128


What happens when a thread cannot acquire a lock on an object?

1022


What is the purpose of the wait(), notify(), and notifyall() methods?

1018


What class is used to create Server side object ?

2223


To identify IDL language what mapping mechanism is used?

3929


How task's priority is used in scheduling?

2285


Can I run seam with jdk 1.4 and earlier?

984


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1037


Can I have an action without a form?

1090


What restrictions are placed on the location of a package statement within a source code file?

1101