public class DefaultCacheEventDispatcherConfiguration
extends java.lang.Object
implements org.ehcache.spi.service.ServiceConfiguration<org.ehcache.core.events.CacheEventDispatcherFactory,java.lang.String>
ServiceConfiguration for the default CacheEventDispatcherFactory implementation.
Enables configuring the thread pool to be used by a CacheEventDispatcher for
a given cache.
| Constructor and Description |
|---|
DefaultCacheEventDispatcherConfiguration(java.lang.String threadPoolAlias)
Creates a new configuration with the provided pool alias
|
| Modifier and Type | Method and Description |
|---|---|
DefaultCacheEventDispatcherConfiguration |
build(java.lang.String alias) |
java.lang.String |
derive() |
java.lang.Class<org.ehcache.core.events.CacheEventDispatcherFactory> |
getServiceType() |
java.lang.String |
getThreadPoolAlias()
Returns the thread pool alias.
|
public DefaultCacheEventDispatcherConfiguration(java.lang.String threadPoolAlias)
threadPoolAlias - the pool aliaspublic java.lang.Class<org.ehcache.core.events.CacheEventDispatcherFactory> getServiceType()
getServiceType in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.core.events.CacheEventDispatcherFactory,java.lang.String>public java.lang.String getThreadPoolAlias()
public java.lang.String derive()
derive in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.core.events.CacheEventDispatcherFactory,java.lang.String>public DefaultCacheEventDispatcherConfiguration build(java.lang.String alias)
build in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.core.events.CacheEventDispatcherFactory,java.lang.String>