# US 6,732,239 B2 · Concurrent access scheme for exclusive mode cache

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 6,732,239 B2
- Document ID: US6732239B2
- Status: Granted
- Kind: B2
- Application number: 10/013,302
- Filed: 2001-12-07
- Published: 2002-07-11
- Granted: 2004-05-04
- Earliest claimed: 2000-12-14
- Assignees: Borland Software Corporation
- Inventors: Jonathan K. Weedon
- Web page: https://patentgrep.com/patent/US6732239B2

## CPC

- G06F 16/24552: {Database cache management}
- Y10S 707/99952: Coherency, e.g. same view to multiple users
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

Methods for permitting concurrent access to an object in a data store of the type having an exclusive access cache are disclosed. The method uses first-in-last-out conditions to control which concurrent transaction, if there is more than one transaction pending for a given object, can provide updated data to the exclusive access cache. Only the first transaction can ever obtain data from the exclusive access cache, but the existence of current transactions when that first one completes precludes the first from updating the exclusive access cache. Rather, the last transaction to commit can update the cache, or leave it empty as the case may be.

## Claims

### Claim 1

In a data store having an exclusive access cache, a method for permitting concurrent access to an object in the data store, comprising the steps of:
(a) responding to a first transaction by retrieving a cache version of the object from the exclusive access cache;
(b) responding to any concurrent transactions by retrieving respective new instances of the object from the data store;
(c) completing any current transactions by selectively committing any updates that were made to the object with a write operation to the data store; and
(d) completing the first transaction by selectively committing any updates that were made to the object with a write to the data store and a deposit to the exclusive access cache.

### Claim 2 (depends on 1)

The method as in claim 1, including the additional steps of:
tracking the number of new instances of the object that have been retrieved; and
decrementing the number of new instances of the object as each concurrent transaction is completed.

### Claim 3 (depends on 2)

The method as in claim 2, wherein step (d) is performed when the number of new instances is zero.

### Claim 4 (depends on 1)

The method as in claim 1, wherein the data store is a database and the object is a data record.
