Use a Custom SegmentCache SPI
If you want to develop your own implementation of the SegmentCache SPI, you will have to follow the basic plan presented in this article.
Perform the following steps to develop your implementation:
Create a Java class that implements mondrian.spi.SegmentCache.
Compile your class and make it available in Mondrian’s classpath.
Edit mondrian.properties and set mondrian.olap.SegmentCache to your class name.
Start the Pentaho Server or Mondrian engine.
This is only a high-level overview. If you need more specific advice, contact your Pentaho support representative and inquire about developer assistance.