Hi All,

Since I have been working on refactoring DAO level cache and implementing
the cache for getBranchCount in AppFactory [1], While implementing it,
Found out if we need to enable caching for getBranchCount method first we
have to implement cache for addApplication and addVersion methods, because
getBranchCount is only count the number of branches available for a given
appkey. Hence, we have to implement the cache in addApplication method to
create cache for applications which are newly created and invalidate older
cache and add new branch count inside addVersion method.

As of now getBranchCount is not cache enabled hence its always querying it
from DB and gets correct branch count.

Please correct me if i'm wrong in this context.

[1] https://wso2.org/jira/browse/APPFAC-2755

Thanks & Regards,
S.A.Rajeevan
Software Engineer WSO2 Inc
E-Mail: rajeev...@wso2.com | Mobile : +94776411636
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to