hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10479) HConnection interface is public but is used internally, and contains a bunch of methods
Date Fri, 07 Feb 2014 22:53:32 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895187#comment-13895187
] 

stack commented on HBASE-10479:
-------------------------------

Can CMI (ugh again on the 'I') not be shutdown so package private so then no need of the 'I'
-- and compiler enforces the lockdown?   Move any public stuff out to another 'wrapper' as
you suggest?

> HConnection interface is public but is used internally, and contains a bunch of methods
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-10479
>                 URL: https://issues.apache.org/jira/browse/HBASE-10479
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HBASE-10479.01.patch, HBASE-10479.02.patch, HBASE-10479.03.patch,
HBASE-10479.patch
>
>
> HConnection has too many methods for a public interface, and some of these should not
be public.
> It is used extensively for internal purposes, so we keep adding methods to it that may
not make sense for public interface.
> The idea is to create a separate internal interface inheriting HConnection, copy some
methods to it and deprecate them on HConnection. New methods for internal use would be added
to new interface; the deprecated methods would eventually be removed from public interface.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message