John Yost created MYRIAD-224:
--------------------------------

             Summary: Add AOP layer for SchedulerState (and maybe other classes)
                 Key: MYRIAD-224
                 URL: https://issues.apache.org/jira/browse/MYRIAD-224
             Project: Myriad
          Issue Type: Improvement
          Components: Scheduler
            Reporter: John Yost
            Priority: Minor


The SchedulerState has a protected updateStore() method that is invoked on the 
last line of SchedulerState public methods. There is boolean logic to 
short-circuit the method if HA is disabled.

Configuring this to instead use AOP would prevent invocation where HA is 
disabled and also deliver cleaner code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to