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

int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1791


what is Activation Instantinator?

2382


What is a class loader?

1769


what is the use of State Factories?

2344


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

1049


To what value is a variable of the string type automatically initialized?

1087


What is permgen or permanent generation?

973


Describe activation process?

2613


Can we sent objects using Sockets?

1099


How task's priority is used in scheduling?

2257


Is infobus easy to use?

1002


Where can I find seam examples and documentation?

1057


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

2481


Is the session factory thread safe?

1134


What is the difference between RMI registry and OS Agent?

1085