What is Lock Based Protocol and what is its use?
Answers were Sorted based on User's Feedback
Answer / bhargavi
lock based protocol: Once one transaction is accessing the
data,no other transaction is made to modify the data.
(or)
A locking protocol is a set of rules to be followed by each
transaction to ensure that, even though actions of several
transactions might be interleaved,the net effect is
identical to executing all transactions in some serial order.
| Is This Answer Correct ? | 55 Yes | 9 No |
Answer / 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 |
what is DGC?
Is a class a subclass of itself?
What is multithread synchronizing ?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
advantage of thread?
diff mvc1 and mvc2 wahts is mean by servlet chaining?
What is Connection Pooling?
1 Answers Enteg Technologies, Infosys, Polaris,
If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?
how team leaders assign work for the team member like through papers,word document
What is an abstract method?
What are synchronized methods and synchronized statements?
What you mean by COM and DCOM?