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
static class SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType
          Defined the possible types of events used by the SegmentCache.SegmentCacheListener class.
 
Method Summary
 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.


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