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.
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.

Mime
View raw message