liuml07 commented on pull request #2044:
URL: https://github.com/apache/hbase/pull/2044#issuecomment-660427619


   In my last comment,
   > That said, to remove this.conf = conf dependency, we can get two 
multipliers from config, and call setMultiplier() accordingly here in cost() by 
checking isOffPeakHour().
   
   I meant in constructor, we can get two multipliers from config and remove 
the `this.conf` field. In `cost()` we call `setMultiplier()`  and choose the 
right parameter by checking isOffPeakHour().


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to