[
https://issues.apache.org/jira/browse/OAK-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550164#comment-14550164
]
Chetan Mehrotra commented on OAK-2627:
--------------------------------------
bq. Off Topic: Is getReference() part of the DataStore API and
getContentIdentity() is its equivalent on the JCR level Jackrabbit API? Then
the latter would just expose the same information to a higher level that is
accessible by applications.
[getReference|https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/org/apache/jackrabbit/api/ReferenceBinary.html]
implementation basically rely on
[getContentIdentity|http://jackrabbit.apache.org/api/2.0/org/apache/jackrabbit/api/JackrabbitValue.html].
Using the identity as a seed then create an encrypted value which can then be
trusted by target system.
> Optimize equals in AbstractBlob
> -------------------------------
>
> Key: OAK-2627
> URL: https://issues.apache.org/jira/browse/OAK-2627
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.1.7
> Reporter: Julian Sedding
> Assignee: Chetan Mehrotra
> Priority: Minor
> Attachments: OAK-2627-chetanm.patch, OAK-2627.patch
>
>
> During some work on the upgrade tool, I discovered tat AbstractBlob's
> {{equals}} method does not leverage reference comparison.
> While I have not investigated whether this really helps, I suspect it does.
> This issue is for the consideration of people with a deeper understanding of
> the system's dynamics.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)