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
Modifier and TypeInterfaceDescriptionstatic enum
Defined the possible types of events used by theSegmentCache.SegmentCacheListener
class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the event type of the current SegmentCacheEvent instance.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 Details
-
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.
-