You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aki Sukegawa (JIRA)" <ji...@apache.org> on 2015/12/10 18:18:10 UTC

[jira] [Resolved] (THRIFT-3432) Add a TByteBuffer transport to the Java library

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

Aki Sukegawa resolved THRIFT-3432.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0

> Add a TByteBuffer transport to the Java library
> -----------------------------------------------
>
>                 Key: THRIFT-3432
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3432
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>    Affects Versions: 0.9.3
>            Reporter: Tom Lee
>            Priority: Minor
>             Fix For: 1.0
>
>
> A bounded alternative to TMemoryBuffer that uses java.nio.ByteBuffer under the hood.
> This is useful both to set sane constraints on maximum message size in a transport-agnostic manner but also because direct buffers can be used to serialize Thrift off-heap, avoiding allocations (thus reducing GC frequency and potentially live set size)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)