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

Appy updated HBASE-18931:
-------------------------
    Assignee: Appy
      Status: Patch Available  (was: Open)

> Make ObserverContext an interface and remove private/testing methods
> --------------------------------------------------------------------
>
>                 Key: HBASE-18931
>                 URL: https://issues.apache.org/jira/browse/HBASE-18931
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Appy
>            Assignee: Appy
>             Fix For: 2.0.0-alpha-4
>
>         Attachments: HBASE-18931.master.001.patch
>
>
> ObserverContext is IA.LimitedPrivate because CP implementations might want to 
> use getEnvironment(), bypass(), complete(), getCaller(), etc.
> However, they are not supposed to be using the following:
> - Constructor : Only CPHost can create contexts.
> - prepare(E env) : this is for internal use only.
> - createAndPrepare() : ObserverContext is created in context of a CPHost. 
> Third party have use accessing constructor or these factory methods. 
> Internally, these fns are used only by our tests.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to