Keith Turner created ACCUMULO-4822: -------------------------------------- Summary: Remove observers from configuration Key: ACCUMULO-4822 URL: https://issues.apache.org/jira/browse/ACCUMULO-4822 Project: Accumulo Issue Type: Improvement Reporter: Keith Turner
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)