Phoenix 180

First revision for review.  There are some open points here.  Still no test case added to consume the stats.  Will do the performance test once the system is available with me.
In one of the other comments in the JIRA, it was decided to do based on timer task. Hence did that way. Ok so for the cache the maxTTL will be the frequency at which the stat updation should happen, which is 15 mins.