Method and apparatus providing optimistic locking of shared computer resources
AssigneeCisco Technology, Inc.
InventorShahrokh Sadjadi
Life of this patent
Estimating the term…
Loading patent…
AssigneeCisco Technology, Inc.
InventorShahrokh Sadjadi
Estimating the term…
Techniques for concurrent access to a resource object, such as a database, include generating a lock data structure for a particular resource object. The lock data structure includes data values for a resource object identification, a lock type, and a version number. The version number is related to a number of changes to the resource object since the lock data structure was generated. A request is received from a requesting process. The request is for a requested lock type for access to the particular resource object. It is determined whether to grant the request based on the requested lock type and the lock type in the lock data structure. By carrying a lock version number in a lock data structure managed by a lock manager, improved optimistic locking is provided in a database. In particular, the approach enables introduction of optimistic locking to a legacy database without requiring burdensome changes to a database table schema.
A method of updating a resource object using optimistic locks, the method comprising the computer-implemented steps of:
A computer-readable medium carrying one or more sequences of instructions for updating a resource object, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
An apparatus for updating a resource object, comprising:
An apparatus for updating a resource object, comprising:
Dependencies are inferred from the claim text.