I've read this in the Mondrian documentation:
Flushing the dimension cache
An application might also want to make modifications to a dimension table. Mondrian does not currently allow an application to control the cache of members...
I have a warehouse with dynamic dimensions. I've tried flushMember(Member, boolean children)
or flushMembers(CellRegion)
, in order to accomplish the flushing, with no success (maybe I don't know how to call them).
I'm using mondrian 3.0.4, so my question is: do the newer versions of the mondrian API have support for flushing the dimension cache, painlessly?
Or is there any way to do it in mondrian 3.0.4?
Flushing the entire schema cache worked for me due there is no way to do it just for the members. Disabling the cache mechanisms in the cube schema was too invasive and had huge performance issues.
CacheControl.flushSchema(catalogSchema);