What is Lock Based Protocol and what is its use?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between system.out ,system.err and system.in?

685


What is the difference between the session.get() method and the session.load() method?

689


Do we need to override service() method

1227


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

718


How can I avoid validating a form before data is entered?

632






AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

1747


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

635


Can I run seam with jdk 1.4 and earlier?

639


What is the difference between java class and bean?

669


Explain the different types of memory used by jvm?

725


Explain about local interfaces.

673


Explain what is synchronization?

676


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

2384


Can constructors be synchronized in java?

693


What is the map interface?

711