JDO
  1. JDO
  2. JDO-535

Add method evictAll taking a class instance to PersistenceManager interface

    Details

      Description

      The PersistenceManager interface does not provide an evictAll method taking a class instance, while the DataStoreCache interface does define this method to evict instances from the second level cache. This allows to evict instances for a particluar class.

      I propose to add the following method to the PersisteneManager interface:
      void evictAll (Class pcClass, boolean subclasses);

      1. JDO-535.patch
        3 kB
        Michael Bouschen

        Activity

        Hide
        Michael Bouschen added a comment -

        Checked in the patch (see revsion 580741).

        Show
        Michael Bouschen added a comment - Checked in the patch (see revsion 580741).
        Hide
        Andy Jefferson added a comment -

        JPOX CVS has this method already added, so applying the patch would cause us no problems.

        Show
        Andy Jefferson added a comment - JPOX CVS has this method already added, so applying the patch would cause us no problems.
        Hide
        Craig L Russell added a comment -

        Looks good.

        Show
        Craig L Russell added a comment - Looks good.
        Hide
        Michael Bouschen added a comment -

        Attached you find a patch for review adding method evictAll and adapting the signature file.

        Show
        Michael Bouschen added a comment - Attached you find a patch for review adding method evictAll and adapting the signature file.

          People

          • Assignee:
            Michael Bouschen
            Reporter:
            Michael Bouschen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development