×

In a distributed hierarchical cache, using a dependency to determine if a version of the first member stored in a database matches the version of the first member returned

  • US 7,272,609 B1
  • Filed: 01/12/2004
  • Issued: 09/18/2007
  • Est. Priority Date: 01/12/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for editing hierarchical data, the method comprising:

  • receiving a command to access a first member of a data hierarchy containing multiple members;

    accessing the first member in a local memory, the local memory periodically updated with changes from the database;

    caching the first member in a cache the cache assigning a version to each cached object;

    determining that the first member has a dependency with one or more other members of the data hierarchy, the first member having a dependency with the one or more other members of the data hierarchy if the first member cannot be modified without modifying or reading the state of the one or more other members of the data hierarchy;

    saving the dependency by adding a current version of the first member and a member identification corresponding to the first member to a dependency list, the dependency list indicating the determined dependency, wherein saving the dependency further includes adding an object identification referenced by the command to the dependency list;

    returning the first member and verifying a change made to the first member;

    receiving a command to commit changes to the first member;

    receiving a command to save changes to the first member;

    adding information regarding the first member to a save list;

    using the dependency to determine if a version of the first member stored in a database matches the version of the first member returned; and

    returning an error to a user if the version of the first member stored in the database does not match a version of the hierarchical data returned.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×