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.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Defines the event types that a listener can look for. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Handle an event
-
Method Details
-
handle
Handle an event- Parameters:
e
- Event to handle.
-