org.ehcache.events
Class DisabledCacheEventNotificationService<K,V>

java.lang.Object
  extended by org.ehcache.events.DisabledCacheEventNotificationService<K,V>
All Implemented Interfaces:
CacheEventNotificationService<K,V>

public class DisabledCacheEventNotificationService<K,V>
extends java.lang.Object
implements CacheEventNotificationService<K,V>


Constructor Summary
DisabledCacheEventNotificationService()
           
 
Method Summary
 void deregisterCacheEventListener(CacheEventListener<? super K,? super V> listener)
           
 boolean hasListeners()
           
 void onEvent(CacheEvent<K,V> kvCacheEvent)
           
 void registerCacheEventListener(CacheEventListener<? super K,? super V> listener, EventOrdering ordering, EventFiring firing, java.util.EnumSet<EventType> eventTypes)
           
 void releaseAllListeners()
           
 void setStoreListenerSource(Cache<K,V> source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisabledCacheEventNotificationService

public DisabledCacheEventNotificationService()
Method Detail

onEvent

public void onEvent(CacheEvent<K,V> kvCacheEvent)
Specified by:
onEvent in interface CacheEventNotificationService<K,V>

registerCacheEventListener

public void registerCacheEventListener(CacheEventListener<? super K,? super V> listener,
                                       EventOrdering ordering,
                                       EventFiring firing,
                                       java.util.EnumSet<EventType> eventTypes)
Specified by:
registerCacheEventListener in interface CacheEventNotificationService<K,V>

hasListeners

public boolean hasListeners()
Specified by:
hasListeners in interface CacheEventNotificationService<K,V>

deregisterCacheEventListener

public void deregisterCacheEventListener(CacheEventListener<? super K,? super V> listener)
Specified by:
deregisterCacheEventListener in interface CacheEventNotificationService<K,V>

releaseAllListeners

public void releaseAllListeners()
Specified by:
releaseAllListeners in interface CacheEventNotificationService<K,V>

setStoreListenerSource

public void setStoreListenerSource(Cache<K,V> source)
Specified by:
setStoreListenerSource in interface CacheEventNotificationService<K,V>