Appy created HBASE-18931:
----------------------------

             Summary: 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
            Reporter: Appy


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