From commits-return-10657-apmail-jackrabbit-commits-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Dec 09 13:04:18 2010 Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 31789 invoked from network); 9 Dec 2010 13:04:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Dec 2010 13:04:18 -0000 Received: (qmail 88220 invoked by uid 500); 9 Dec 2010 13:04:18 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 88121 invoked by uid 500); 9 Dec 2010 13:04:17 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 88114 invoked by uid 99); 9 Dec 2010 13:04:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 13:04:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 13:04:16 +0000 Received: from eosnew.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 7F28615D for ; Thu, 9 Dec 2010 13:03:55 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 09 Dec 2010 13:03:55 -0000 Message-ID: <20101209130355.82142.44975@eosnew.apache.org> Subject: =?utf-8?q?=5BJackrabbit_Wiki=5D_Update_of_=22DataStore=22_by_ThomasMuelle?= =?utf-8?q?r?= Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" fo= r change notification. The "DataStore" page has been changed by ThomasMueller. http://wiki.apache.org/jackrabbit/DataStore?action=3Ddiff&rev1=3D61&rev2=3D= 62 -------------------------------------------------- = Objects are usually stored early in the data store, even before the trans= action is committed. Only the the identifier is stored in the persistence m= anager. The blob store is not used any longer (except for backward compatib= ility). When using the RMI client, large objects are not stored directly in= the data store, instead they are first transferred to the server. = + =3D=3D API =3D=3D + = + The regular JCR API is used read and write entries in the data store. + = + =3D=3D=3D Retrieve the Identifier =3D=3D=3D + = + To get the identifier of a binary value, use [[http://jackrabbit.apache.o= rg/api/2.1/org/apache/jackrabbit/api/JackrabbitValue.html#getContentIdentit= y()|JackrabbitValue.getContentIdentity()]]. + = =3D=3D Data Store Garbage Collection =3D=3D = The data store never deletes entries except when running data store garba= ge collection. Similar to Java heap garbage collection, data store garbage = collection will first mark all used entries, and later remove unused items.