Flushing the Analysis Cache Using the API

Jaspersoft OLAP maintains a cache of previously-retrieved results in order to achieve high performance. There is a simple interface for flushing the entire cache programmatically, an action that is required when new data is inserted into databases while Jaspersoft OLAP is running.

public interface OlapManagementService {
public void flushOlapCache();
}

The interface can be configured as a Spring bean or instantiated with a standard Java constructor call. com.jaspersoft.jasperserver.api.metadata.olap.service.impl.OlapManagementServiceImpl
is the default implementation of the interface.

Feedback
randomness