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 you mean by COM and DCOM?

1018


Which javutil classes and interfaces support event handling?

994


What is a sessionfactory? Is it a thread-safe object?

1160


What is the difference between the session.update() method and the session.lock() method?

966


How are commas used in the intialization and iteration parts of a for statement?

1050


What must a class do to implement an interface?

1097


Why are my checkboxes not being set from on to off?

1086


Difference between new operator and class.forname().newinstance()?

1085


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2731


wahts is mean by dynavalidatorform in struts/

1997


Is a class a subclass of itself?

1130


What is Stream Tokenizer?

2176


Can I import same package/class twice? Will the jvm load the package twice at runtime?

1085


Is the infobus client side only?

1062


What are JTA/JTS and how they used by client?

2175