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