qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PROTON-1941) Add WritableBuffer API for requesting space when writing complex types
Date Wed, 26 Sep 2018 19:55:00 GMT

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

Timothy Bish resolved PROTON-1941.
    Resolution: Fixed

> Add WritableBuffer API for requesting space when writing complex types
> ----------------------------------------------------------------------
>                 Key: PROTON-1941
>                 URL: https://issues.apache.org/jira/browse/PROTON-1941
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: proton-j-0.29.0
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Minor
>             Fix For: proton-j-0.30.0
> Add new optional API to WritableBuffer that allows a complex types that has already computed
the encoding size to request that the buffer have at least that amount of writable space left
before an attempt to encode into that buffers occurs.  This can result in either an early
failure of the encode avoiding encoding when the result is bound to fail or the underlying
buffer can increase its capacity to accommodate the incoming writes before they happen which
can result in less churn as a buffer tries to grow as the complex type gets encoded into it. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message