org.ehcache.event
Interface CacheEventListenerConfiguration

All Superinterfaces:
ServiceConfiguration<CacheEventListenerProvider>
All Known Implementing Classes:
DefaultCacheEventListenerConfiguration

public interface CacheEventListenerConfiguration
extends ServiceConfiguration<CacheEventListenerProvider>

Configuration contract for setting up CacheEvent system in a cache.


Method Summary
 java.util.EnumSet<EventType> fireOn()
          Indicates on which EventType an event has to be fired
 EventFiring firingMode()
          Indicates which firing mode to use
 EventOrdering orderingMode()
          Indicates which ordering mode to use
 
Methods inherited from interface org.ehcache.spi.service.ServiceConfiguration
getServiceType
 

Method Detail

firingMode

EventFiring firingMode()
Indicates which firing mode to use

Returns:
the firing mode to use

orderingMode

EventOrdering orderingMode()
Indicates which ordering mode to use

Returns:
the ordering mode to use

fireOn

java.util.EnumSet<EventType> fireOn()
Indicates on which EventType an event has to be fired

Returns:
the set of EventType to fire on