jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "DataStore" by ThomasMueller
Date Thu, 27 Mar 2008 14:00:24 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/DataStore

The comment on the change is:
garbage collection when the data store is shared accross repositories

------------------------------------------------------------------------------
  gc.scan();
  gc.stopScan();
  
- // could be a separate button, if multiple repositories use the same data store:
+ // delete old data
  gc.deleteUnused();
  }}}
+ 
+ If multiple repositories use the same data store, the deleteUnused() method must not be
used. Instead, the process is:
+ 
+ * Write down the current time = X
+ * Run gc.scan() on each repository 
+ * Manually delete files with last modified date older than X
  
  == How to write a new data store implementation ==
  

Mime
View raw message