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 Fri, 21 Sep 2007 16:13:11 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

------------------------------------------------------------------------------
  == How to configure the file data store ==
  
+ The data store is not included in Jackrabbit 1.3.x. You need to download the source trunk
source code and build Jackrabbit yourself.
  To use the File┬┤Data┬┤Store, add this to your repository.xml after the <Repository>
start tag:
  
  {{{
@@ -49, +50 @@

  
  == Running data store garbage collection ==
  
- Running the garbage collection is currently a manual process.
+ Running the garbage collection is currently a manual process. You can run this as a separate
thread concurrently to your application:
+ 
+ {{{
+ import org.apache.jackrabbit.core.data.GarbageCollector;
+ ...
+ GarbageCollector gc = new GarbageCollector(null, 0);
+ gc.scan(session);
+ gc.stopScan();
+ gc.deleteUnused();
+ }}}
  
  == How to write a new data store implementation ==
  

Mime
View raw message