protected void flushSegments() { final RolapConnection internalConnection = getInternalConnection(); if (internalConnection != null) { final CacheControl cc = internalConnection.getCacheControl(null); for (RolapCube cube : getCubeList()) { cc.flush(cc.createMeasuresRegion(cube)); } } }
protected void flushCatalog(String catalogName) { for (RolapSchema schema : RolapSchema.getRolapSchemas()) { if (schema.getName().equals(catalogName)) { schema.getInternalConnection().getCacheControl(null) .flushSchema(schema); } } }
con.getCacheControl(null).flushSchemaCache();
public void flushSchemaCache(OlapConnection conn) throws OlapException { try { RolapConnection rConn = conn.unwrap(RolapConnection.class); rConn.getCacheControl(null).flushSchema( rConn.getSchema()); } catch (SQLException e) { throw new OlapException(e); } }