Package mondrian.spi

Interface SegmentCache.SegmentCacheListener

Enclosing interface:
SegmentCache

public static interface SegmentCache.SegmentCacheListener
SegmentCache.SegmentCacheListener objects are used to listen to the state of the cache and be notified of changes to its state or its entries. Mondrian will automatically register a listener with the implementations it uses. Implementations of SegmentCache should only send events if the cause of the event is not Mondrian itself. Only in cases where the cache gets updated by other Mondrian nodes or by a third party application is it required to use this interface.