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.


Nested Class Summary
static interface SegmentCache.SegmentCacheListener.SegmentCacheEvent
          Defines the event types that a listener can look for.
 
Method Summary
 void handle(SegmentCache.SegmentCacheListener.SegmentCacheEvent e)
          Handle an event
 

Method Detail

handle

void handle(SegmentCache.SegmentCacheListener.SegmentCacheEvent e)
Handle an event

Parameters:
e - Event to handle.

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads