[
https://issues.apache.org/jira/browse/HBASE-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435968#comment-13435968
]
Lars George commented on HBASE-5728:
------------------------------------
Sorry for being late here, but one thing that irks me is that you can set the
buffer size, which already implies what the given values means, but have no
means to return the buffer itself. Should we create a new JIRA that abstracts
the write buffer into an interface that is returned? That way we can add it to
HTableInterface as "public WriteBuffer getWriteBuffer()" or some such. Then the
write buffer size as a long could be interpreted as whatever the actual
implementation chooses?
> Methods Missing in HTableInterface
> ----------------------------------
>
> Key: HBASE-5728
> URL: https://issues.apache.org/jira/browse/HBASE-5728
> Project: HBase
> Issue Type: Improvement
> Components: client
> Reporter: Bing Li
> Assignee: Jimmy Xiang
> Fix For: 0.96.0, 0.94.2
>
> Attachments: trunk-5728.patch, trunk-5728_v2.patch,
> trunk-5728_v3.patch, trunk-5728_v4.patch
>
>
> Dear all,
> I found some methods existed in HTable were not in HTableInterface.
> setAutoFlush
> setWriteBufferSize
> ...
> In most cases, I manipulate HBase through HTableInterface from HTablePool. If
> I need to use the above methods, how to do that?
> I am considering writing my own table pool if no proper ways. Is it fine?
> Thanks so much!
> Best regards,
> Bing
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira