org.infinispan.notifications.cachelistener.event
Interface Event

All Known Subinterfaces:
CacheEntryActivatedEvent, CacheEntryCreatedEvent, CacheEntryEvent, CacheEntryEvictedEvent, CacheEntryInvalidatedEvent, CacheEntryLoadedEvent, CacheEntryModifiedEvent, CacheEntryPassivatedEvent, CacheEntryRemovedEvent, CacheEntryVisitedEvent, TransactionalEvent, TransactionCompletedEvent, TransactionRegisteredEvent
All Known Implementing Classes:
EventImpl

public interface Event

An interface that defines common characteristics of events

Since:
4.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 occurred, false if after the event has occurred.

getCache

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

Google Analytics

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