akash.termors Posted January 20, 2014 Share Posted January 20, 2014 Hi,I have an ETL which does data load into my data store once a day. I want to clear the adhoc cache post this ETL job. I am looking for a method that I can call to clear the cache. I foundOlapManagementServiceImpl().flushOlapCache()But its not clearing the adhoc cache. Please help Link to comment Share on other sites More sharing options...
Solution VanyaC Posted January 23, 2014 Solution Share Posted January 23, 2014 There is a clear() in DataSetCache which would clear the cache,adhocEnginServiceImpl.getDataSetCache().clear(); Link to comment Share on other sites More sharing options...
ankushchhabra Posted August 26, 2015 Share Posted August 26, 2015 Hi Akash / VanyaC Somhow i am not able to reply to this thread so writing my question in comment section.We have integrated jasper 6.0 with our application and are using domains/ ahdoc view heavily and they in turn uses cache heavily.We need to clear the cache programatically .Can you guide me if how can i call and from where i need to call this piece of code.adhocEnginServiceImpl.getDataSetCache().clear(); Regards,Ankush Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now