You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by Apache Wiki <wi...@apache.org> on 2010/12/09 14:03:55 UTC

[Jackrabbit Wiki] Update of "DataStore" by ThomasMueller

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.
http://wiki.apache.org/jackrabbit/DataStore?action=diff&rev1=61&rev2=62

--------------------------------------------------

  
  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.