db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r580741 - in /db/jdo/trunk: api2-legacy/src/java/javax/jdo/PersistenceManager.java api2/src/java/javax/jdo/PersistenceManager.java tck2-legacy/src/conf/jdo-2_1-signatures.txt tck2/src/conf/jdo-2_1-signatures.txt
Date Sun, 30 Sep 2007 15:50:17 GMT
Author: mbo
Date: Sun Sep 30 08:50:17 2007
New Revision: 580741

URL: http://svn.apache.org/viewvc?rev=580741&view=rev
Log:
JDO-535: Add method evictAll taking a class instance to PersistenceManager interface

Modified:
    db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java
    db/jdo/trunk/api2/src/java/javax/jdo/PersistenceManager.java
    db/jdo/trunk/tck2-legacy/src/conf/jdo-2_1-signatures.txt
    db/jdo/trunk/tck2/src/conf/jdo-2_1-signatures.txt

Modified: db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java?rev=580741&r1=580740&r2=580741&view=diff
==============================================================================
--- db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java (original)
+++ db/jdo/trunk/api2-legacy/src/java/javax/jdo/PersistenceManager.java Sun Sep 30 08:50:17
2007
@@ -99,6 +99,13 @@
      */
     void evictAll (Collection pcs);
     
+    /** Mark the parameter instances as no longer needed in the cache.
+     * @param pcClass the class of instances to evict
+     * @param subclasses if true, mark instances of subclasses also
+     * @since 2.1
+     */
+    void evictAll (Class pcClass, boolean subclasses);
+
     /** Mark all persistent-nontransactional instances as no longer needed 
      * in the cache.  It transitions
      * all persistent-nontransactional instances to hollow.  Transactional

Modified: db/jdo/trunk/api2/src/java/javax/jdo/PersistenceManager.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api2/src/java/javax/jdo/PersistenceManager.java?rev=580741&r1=580740&r2=580741&view=diff
==============================================================================
--- db/jdo/trunk/api2/src/java/javax/jdo/PersistenceManager.java (original)
+++ db/jdo/trunk/api2/src/java/javax/jdo/PersistenceManager.java Sun Sep 30 08:50:17 2007
@@ -98,7 +98,14 @@
      * cache.
      */
     void evictAll (Collection pcs);
-    
+
+    /** Mark the parameter instances as no longer needed in the cache.
+     * @param pcClass the class of instances to evict
+     * @param subclasses if true, mark instances of subclasses also
+     * @since 2.1
+     */
+    void evictAll (Class pcClass, boolean subclasses);
+
     /** Mark all persistent-nontransactional instances as no longer needed 
      * in the cache.  It transitions
      * all persistent-nontransactional instances to hollow.  Transactional

Modified: db/jdo/trunk/tck2-legacy/src/conf/jdo-2_1-signatures.txt
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2-legacy/src/conf/jdo-2_1-signatures.txt?rev=580741&r1=580740&r2=580741&view=diff
==============================================================================
--- db/jdo/trunk/tck2-legacy/src/conf/jdo-2_1-signatures.txt (original)
+++ db/jdo/trunk/tck2-legacy/src/conf/jdo-2_1-signatures.txt Sun Sep 30 08:50:17 2007
@@ -610,6 +610,7 @@
     public void evict(Object pc);
     public void evictAll(Object[] pcs);
     public void evictAll(java.util.Collection pcs);
+    public void evictAll(java.lang.Class, boolean);
     public void evictAll();
     public void refresh(Object pc);
     public void refreshAll(Object[] pcs);

Modified: db/jdo/trunk/tck2/src/conf/jdo-2_1-signatures.txt
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/conf/jdo-2_1-signatures.txt?rev=580741&r1=580740&r2=580741&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/conf/jdo-2_1-signatures.txt (original)
+++ db/jdo/trunk/tck2/src/conf/jdo-2_1-signatures.txt Sun Sep 30 08:50:17 2007
@@ -610,6 +610,7 @@
     public void evict(Object pc);
     public void evictAll(Object[] pcs);
     public void evictAll(java.util.Collection pcs);
+    public void evictAll(java.lang.Class, boolean);
     public void evictAll();
     public void refresh(Object pc);
     public void refreshAll(Object[] pcs);



Mime
View raw message