org.ehcache.config.builders
Class CacheEventListenerConfigurationBuilder
java.lang.Object
org.ehcache.config.builders.CacheEventListenerConfigurationBuilder
- All Implemented Interfaces:
- Builder<CacheEventListenerConfiguration>
public class CacheEventListenerConfigurationBuilder
- extends java.lang.Object
- implements Builder<CacheEventListenerConfiguration>
Method Summary |
CacheEventListenerConfigurationBuilder |
asynchronous()
|
DefaultCacheEventListenerConfiguration |
build()
|
CacheEventListenerConfigurationBuilder |
constructedWith(java.lang.Object... arguments)
|
CacheEventListenerConfigurationBuilder |
eventOrdering(EventOrdering eventOrdering)
|
CacheEventListenerConfigurationBuilder |
firingMode(EventFiring eventFiringMode)
|
static CacheEventListenerConfigurationBuilder |
newEventListenerConfiguration(CacheEventListener<?,?> listener,
EventType eventType,
EventType... eventTypes)
|
static CacheEventListenerConfigurationBuilder |
newEventListenerConfiguration(CacheEventListener<?,?> listener,
java.util.Set<EventType> eventSetToFireOn)
|
static CacheEventListenerConfigurationBuilder |
newEventListenerConfiguration(java.lang.Class<? extends CacheEventListener<?,?>> listenerClass,
EventType eventType,
EventType... eventTypes)
|
static CacheEventListenerConfigurationBuilder |
newEventListenerConfiguration(java.lang.Class<? extends CacheEventListener<?,?>> listenerClass,
java.util.Set<EventType> eventSetToFireOn)
|
CacheEventListenerConfigurationBuilder |
ordered()
|
CacheEventListenerConfigurationBuilder |
synchronous()
|
CacheEventListenerConfigurationBuilder |
unordered()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newEventListenerConfiguration
public static CacheEventListenerConfigurationBuilder newEventListenerConfiguration(java.lang.Class<? extends CacheEventListener<?,?>> listenerClass,
EventType eventType,
EventType... eventTypes)
newEventListenerConfiguration
public static CacheEventListenerConfigurationBuilder newEventListenerConfiguration(CacheEventListener<?,?> listener,
EventType eventType,
EventType... eventTypes)
newEventListenerConfiguration
public static CacheEventListenerConfigurationBuilder newEventListenerConfiguration(java.lang.Class<? extends CacheEventListener<?,?>> listenerClass,
java.util.Set<EventType> eventSetToFireOn)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
newEventListenerConfiguration
public static CacheEventListenerConfigurationBuilder newEventListenerConfiguration(CacheEventListener<?,?> listener,
java.util.Set<EventType> eventSetToFireOn)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
constructedWith
public CacheEventListenerConfigurationBuilder constructedWith(java.lang.Object... arguments)
eventOrdering
public CacheEventListenerConfigurationBuilder eventOrdering(EventOrdering eventOrdering)
ordered
public CacheEventListenerConfigurationBuilder ordered()
unordered
public CacheEventListenerConfigurationBuilder unordered()
firingMode
public CacheEventListenerConfigurationBuilder firingMode(EventFiring eventFiringMode)
synchronous
public CacheEventListenerConfigurationBuilder synchronous()
asynchronous
public CacheEventListenerConfigurationBuilder asynchronous()
build
public DefaultCacheEventListenerConfiguration build()
- Specified by:
build
in interface Builder<CacheEventListenerConfiguration>