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, 12 Nov 2009 11:16:57 GMT
Dear Wiki user,

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

The "DataStore" page has been changed by ThomasMueller.


  Objects are usually stored early in the data store, even before the transaction is committed.
Only the the identifier is stored in the persistence manager. The blob store is not used any
longer (except for backward compatibility). When using the RMI client, large objects are not
stored directly in the data store, instead they are first transferred to the server.
+ == Data Store Garbage Collection ==
+ The data store never deletes entries except when running data store garbage collection.
Similar to Java heap garbage collection, data store garbage collection will first mark all
used items, and later remove unused items.
+ Data store garbage collection does not delete entries if the identifier is still in the
Java heap memory. If you want to ensure that really all unreferenced entries are deleted,
call System.gc() a few times before running the data store garbage collection.
  == Running Data Store Garbage Collection (Jackrabbit 1.x) ==
  Running the garbage collection is currently a manual process. You can run this as a separate
thread concurrently to your application:

View raw message