mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Ulfkjær Jensen (JIRA) <j...@apache.org>
Subject [jira] Commented: (DIRMINA-489) Composite IoBuffer
Date Mon, 11 Feb 2008 16:30:08 GMT

    [ https://issues.apache.org/jira/browse/DIRMINA-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567686#action_12567686

Johannes Ulfkjær Jensen commented on DIRMINA-489:

In addition to the mentioned benefits, this could also serve as the way to introduce gathering
write to the framework by adding IoBuffer.isComposite(), IoBuffer.getComposites(), in the
same style of having backing arrays. That being unless I missed something, which could happen
as I do not know the framework that well.

This same class could also be used to implement scatter read, but as far as I can see, that
would mean every instance of IoAcceptor (or SessionConfig?) would need a specific IoBufferAllocator.

> Composite IoBuffer
> ------------------
>                 Key: DIRMINA-489
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-489
>             Project: MINA
>          Issue Type: New Feature
>          Components: Core
>            Reporter: David M. Lloyd
>             Fix For: 2.0.0-M2
> Provide a way to create a large IoBuffer from several smaller IoBuffers, without copying
the underlying data.
> It would probably be acceptable to constrain the composite buffer in various ways, for
example by disallowing autoexpanding or otherwise changing the capacity, the implementation
could be greatly simplified.
> The goal is to be able to process large messages with a minimum of copying.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message