Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

flush API not working as expected

$
0
0
I am trying to use the flush API to clear the dimension cache -

Cube MetricsCube = rcon.getSchema().lookupCube("Metrics USD", true);
SchemaReader schemaReader = MetricsCube.getSchemaReader(null).withLocus();
Member memberTimeJul22 = schemaReader.getMemberByUniqueName(Id.Segment.toList("Time", "2013","Jul2013"),true);
final CacheControl cacheControl = rcon.getCacheControl(null);
CacheControl.MemberSet regionTime = cacheControl.createMemberSet(memberTimeJul22, false);
cacheControl.flush(regionTime);

But this call does not seem to clear the dimension cache. I am still seeing the stale data in the saiku UI

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>