You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2019/08/28 06:27:00 UTC

[jira] [Commented] (OAK-8578) Introduce API to check whether blob inlined in Id

    [ https://issues.apache.org/jira/browse/OAK-8578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917461#comment-16917461 ] 

Julian Reschke commented on OAK-8578:
-------------------------------------

If you do:

{noformat}
+    /**
+     * Checks if the external blob is inlined in the id itself
+     * @return
+     */
+    default boolean isInlined() {
+        return false;
+    }
{noformat}

...you only need to increment the minor version number. Question of course is what the default return value needs to be.

> Introduce API to check whether blob inlined in Id
> -------------------------------------------------
>
>                 Key: OAK-8578
>                 URL: https://issues.apache.org/jira/browse/OAK-8578
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: blob-cloud, blob-cloud-azure
>            Reporter: Amit Jain
>            Assignee: Amit Jain
>            Priority: Major
>             Fix For: 1.18.0
>
>
> New API in blob to check whether blob inlined in Id. This will replace calls to getReference which was used as a proxy to check whether blob inlined and avoid remote calls to the backend (potentially expensive ones over cloud).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)