org.jboss.cache.notifications.event
Interface Event

All Known Subinterfaces:
BuddyGroupChangedEvent, CacheBlockedEvent, CacheStartedEvent, CacheStoppedEvent, CacheUnblockedEvent, NodeActivatedEvent, NodeCreatedEvent, NodeEvent, NodeEvictedEvent, NodeInvalidatedEvent, NodeLoadedEvent, NodeModifiedEvent, NodeMovedEvent, NodePassivatedEvent, NodeRemovedEvent, NodeVisitedEvent, TransactionalEvent, TransactionCompletedEvent, TransactionRegisteredEvent, ViewChangedEvent
All Known Implementing Classes:
EventImpl

public interface Event

An interface that defines common characteristics of events

Since:
2.0.0
Author:
Manik Surtani

Nested Class Summary
static class Event.Type
           
 
Method Summary
 Cache getCache()
           
 Event.Type getType()
           
 boolean isPre()
           
 

Method Detail

getType

Event.Type getType()
Returns:
the type of event represented by this instance.

isPre

boolean isPre()
Returns:
true if the notification is before the event has occured, false if after the event has occured.

getCache

Cache getCache()
Returns:
a handle to the cache instance that generated this notification.


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.