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

All Superinterfaces:
Event<K,V>, TransactionalEvent<K,V>
All Known Subinterfaces:
CacheEntryActivatedEvent<K,V>, CacheEntryCreatedEvent<K,V>, CacheEntryEvictedEvent<K,V>, CacheEntryInvalidatedEvent<K,V>, CacheEntryLoadedEvent<K,V>, CacheEntryModifiedEvent<K,V>, CacheEntryPassivatedEvent<K,V>, CacheEntryRemovedEvent<K,V>, CacheEntryVisitedEvent<K,V>
All Known Implementing Classes:
EventImpl

public interface CacheEntryEvent<K,V>
extends TransactionalEvent<K,V>

A transactional event subtype that additionally expose a key as such events pertain to a specific cache entry.

Since:
4.0
Author:
Manik Surtani

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.infinispan.notifications.cachelistener.event.Event
Event.Type
 
Method Summary
 K getKey()
           
 
Methods inherited from interface org.infinispan.notifications.cachelistener.event.TransactionalEvent
getGlobalTransaction, isOriginLocal
 
Methods inherited from interface org.infinispan.notifications.cachelistener.event.Event
getCache, getType, isPre
 

Method Detail

getKey

K getKey()
Returns:
the key to the affected cache entry.

-->

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