×

Garbage collection of persistent objects with dynamic multikeys

  • US 10,289,728 B2
  • Filed: 05/15/2006
  • Issued: 05/14/2019
  • Est. Priority Date: 05/15/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • identifying a non-persistent object instance comprising;

    a first field having a first value configured to be mirrored in a database; and

    a mutable primary key that uniquely identifies the non-persistent object instance, wherein the mutable primary key is a mutable value that can change during a life of the non-persistent object instance;

    identifying a first persistent object instance comprising;

    a first immutable primary key associated with the mutable primary key of the non-persistent object instance; and

    a foreign key;

    identifying a second persistent object instance comprising;

    a second immutable primary key associated with the foreign key; and

    a second field having a second value mirroring the first value, wherein the second field is configured to further mirror the second value to the database;

    destroying the second persistent object instance;

    destroying the first persistent object instance after the second persistent object instance is destroyed;

    clearing the mutable primary key from the non-persistent object instance after the first persistent object instance is destroyed; and

    marking, via a processor, the non-persistent object instance for garbage collection after the mutable primary key is cleared.

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