jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Saginor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-8275) Add NIO channel access to JCR binaries.
Date Thu, 25 Apr 2019 03:33:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-8275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Henry Saginor updated OAK-8275:
-------------------------------
    Description: 
This is a follow up to the discussion started in OAK-8186. Currently JCR binaries can only
be accessed via InputStream. This often is inefficient. The proposal is to add API that returns
SeekableByteChannel

Here is the new API I am proposing -
 [https://github.com/hsaginor/jackrabbit/blob/createChannel/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/ChannelBinary.java
 [https://github.com/hsaginor/jackrabbit-oak/blob/createChannel2/oak-api/src/main/java/org/apache/jackrabbit/oak/api/Blob.java]
|https://github.com/hsaginor/jackrabbit/blob/createChannel/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/ChannelBinary.java](see
2 added methods)

And all of the implementation changes -
[https://github.com/apache/jackrabbit-oak/compare/trunk...hsaginor:createChannel2]

  was:
This is a follow up to the discussion started in OAK-8186. Currently JCR binaries can only
be accessed via InputStream. This often is inefficient. The proposal is to add API that returns
SeekableByteChannel

Here is the new API I am proposing -
[https://github.com/hsaginor/jackrabbit/blob/createChannel/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/ChannelBinary.java
https://github.com/hsaginor/jackrabbit-oak/blob/createChannel2/oak-api/src/main/java/org/apache/jackrabbit/oak/api/Blob.java
|https://github.com/hsaginor/jackrabbit/blob/createChannel/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/ChannelBinary.java](see
2 added methods)

And here is one possible implementation -

 [https://github.com/apache/jackrabbit-oak/compare/trunk...hsaginor:createChannel2]


> Add NIO channel access to JCR binaries.
> ---------------------------------------
>
>                 Key: OAK-8275
>                 URL: https://issues.apache.org/jira/browse/OAK-8275
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Henry Saginor
>            Priority: Major
>
> This is a follow up to the discussion started in OAK-8186. Currently JCR binaries can
only be accessed via InputStream. This often is inefficient. The proposal is to add API that
returns SeekableByteChannel
> Here is the new API I am proposing -
>  [https://github.com/hsaginor/jackrabbit/blob/createChannel/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/ChannelBinary.java
>  [https://github.com/hsaginor/jackrabbit-oak/blob/createChannel2/oak-api/src/main/java/org/apache/jackrabbit/oak/api/Blob.java]
|https://github.com/hsaginor/jackrabbit/blob/createChannel/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/ChannelBinary.java](see
2 added methods)
> And all of the implementation changes -
> [https://github.com/apache/jackrabbit-oak/compare/trunk...hsaginor:createChannel2]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message