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, 09 Dec 2010 13:03:55 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.
+ == API ==
+ The regular JCR API is used read and write entries in the data store.
+ === Retrieve the Identifier ===
+ To get the identifier of a binary value, use [[http://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/api/JackrabbitValue.html#getContentIdentity()|JackrabbitValue.getContentIdentity()]].
  == 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 entries, and later remove unused items.

View raw message