[
https://issues.apache.org/jira/browse/ACCUMULO-4822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Tubbs updated ACCUMULO-4822:
----------------------------------------
Fix Version/s: 2.0.0
> Remove observers from configuration
> -----------------------------------
>
> Key: ACCUMULO-4822
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4822
> Project: Accumulo
> Issue Type: Improvement
> Reporter: Keith Turner
> Priority: Major
> Fix For: 2.0.0
>
>
> As part of the work done for ACCUMULO-4779 the method getUpdateCount was
> added to AccumuloConfiguration. Subclasses of AccumuloConfiguration increase
> a counter each time it changes and this counter is available via
> getUpdateCount. Anything that is derived from configuration can be cached
> and this counter can be used to know when it needs to be derived again.
> Some AccumuloConfigurations are also observable. I think this observer
> pattern could be dropped in favor of using this counter. I think this change
> would simplify the code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)