Package mondrian.spi
Interface SegmentCache.SegmentCacheListener.SegmentCacheEvent
-
- Enclosing interface:
- SegmentCache.SegmentCacheListener
public static interface SegmentCache.SegmentCacheListener.SegmentCacheEvent
Defines the event types that a listener can look for.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType
Defined the possible types of events used by theSegmentCache.SegmentCacheListener
class.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType
getEventType()
Returns the event type of the current SegmentCacheEvent instance.SegmentHeader
getSource()
Returns the segment header at the source of the event.boolean
isLocal()
Tells whether or not this event was a local event or an event triggered by an operation on a remote node.
-
-
-
Method Detail
-
getEventType
SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType getEventType()
Returns the event type of the current SegmentCacheEvent instance.
-
getSource
SegmentHeader getSource()
Returns the segment header at the source of the event.
-
isLocal
boolean isLocal()
Tells whether or not this event was a local event or an event triggered by an operation on a remote node. If the implementation cannot differentiate or doesn't support remote nodes, always return false.
-
-