You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2014/02/06 20:40:14 UTC

[jira] [Updated] (HBASE-10479) HConnection interface is public but is used internally, and contains a bunch of methods

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

Sergey Shelukhin updated HBASE-10479:
-------------------------------------

    Description: 
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.

  was:
HConnection has too many methods for a public interface, and some of there 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.


> 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
>
> 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)