hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Appy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18931) Make ObserverContext an interface and remove private/testing methods
Date Wed, 04 Oct 2017 00:08:00 GMT
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)

Mime
View raw message