[
https://issues.apache.org/jira/browse/HBASE-10861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ramkrishna.s.vasudevan updated HBASE-10861:
-------------------------------------------
Attachment: HBASE-10861_7.patch
Updated patch. For now decided not to include the clean() method. It was
useful for clearing the buffers allocated offheap through reflections when
needed. Anyway as these are evolving interfaces we could always add new APIs
when needed.
> Supporting API in ByteRange
> ---------------------------
>
> Key: HBASE-10861
> URL: https://issues.apache.org/jira/browse/HBASE-10861
> Project: HBase
> Issue Type: Improvement
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Fix For: 0.99.0
>
> Attachments: HBASE-10861.patch, HBASE-10861_2.patch,
> HBASE-10861_3.patch, HBASE-10861_4.patch, HBASE-10861_6.patch,
> HBASE-10861_7.patch
>
>
> We would need APIs that would
> setLimit(int limit)
> getLimt()
> asReadOnly()
> These APIs would help in implementations that have Buffers offheap (for now
> BRs backed by DBB).
> If anything more is needed could be added when needed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)