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 is the highest-level event class of the event-delegation model?

1091


Difference between hashmap and hashtable?

1156


What is the difference between the font and fontmetrics classes?

1154


What is chat area? Explain.

1018


What is aop(assepct oriented programing)?

1048


What are local interfaces? Describe.

1230


What is the relation between the infobus and rmi?

1002


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

1029


what is the use of State Factories?

2387


Why is actionform a base class rather than an interface?

1062


what is an isolation level?

2752


Difference between DurableSubscription and non- DurableSubscription?

2194


What are the oops concept?

1070


What is Remote Server?

2194


Can I use multiple html form elements with the same name?

1050