Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.notifications.cachelistener.event
Interface Event<K,V>

All Known Subinterfaces:
CacheEntriesEvictedEvent<K,V>, CacheEntryActivatedEvent<K,V>, CacheEntryCreatedEvent<K,V>, CacheEntryEvent<K,V>, CacheEntryEvictedEvent<K,V>, CacheEntryInvalidatedEvent<K,V>, CacheEntryLoadedEvent<K,V>, CacheEntryModifiedEvent<K,V>, CacheEntryPassivatedEvent<K,V>, CacheEntryRemovedEvent<K,V>, CacheEntryVisitedEvent<K,V>, DataRehashedEvent<K,V>, TopologyChangedEvent<K,V>, TransactionalEvent<K,V>, TransactionCompletedEvent<K,V>, TransactionRegisteredEvent<K,V>
All Known Implementing Classes:
EventImpl

public interface Event<K,V>

An interface that defines common characteristics of events

Since:
4.0
Author:
Manik Surtani

Nested Class Summary
static class Event.Type
           
 
Method Summary
 Cache<K,V> 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<K,V> getCache()
Returns:
a handle to the cache instance that generated this notification.

Infinispan Distribution 5.2.6.Final-redhat-2

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