If you want to develop your own implementation of the SegmentCache SPI, you'll have to follow this basic plan:
- 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 BA 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.