org.infinispan.notifications.cachelistener.event
Interface CacheEntryRemovedEvent

All Superinterfaces:
CacheEntryEvent, Event, TransactionalEvent
All Known Implementing Classes:
EventImpl

public interface CacheEntryRemovedEvent
extends CacheEntryEvent

This event subtype is passed in to any method annotated with CacheEntryRemoved.

The getValue() method would return the old value prior to deletion, if isPre() is true. If isPre() is false, getValue() will return null.

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
 Object getValue()
          Retrieves the value of the entry being deleted.
 
Methods inherited from interface org.infinispan.notifications.cachelistener.event.CacheEntryEvent
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

getValue

Object getValue()
Retrieves the value of the entry being deleted.

Returns:
the value of the entry being deleted, if isPre() is true. null otherwise.

Google Analytics

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