public class DefaultCacheEventDispatcherConfiguration extends java.lang.Object implements ServiceConfiguration<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)
Construct a new configuration from the given detached representation.
|
java.lang.String |
derive()
Derive a detached representation from this configuration
|
java.lang.Class<CacheEventDispatcherFactory> |
getServiceType()
Indicates which service this configuration works with.
|
java.lang.String |
getThreadPoolAlias()
Returns the thread pool alias.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compatibleWith
public DefaultCacheEventDispatcherConfiguration(java.lang.String threadPoolAlias)
threadPoolAlias
- the pool aliaspublic java.lang.Class<CacheEventDispatcherFactory> getServiceType()
getServiceType
in interface ServiceConfiguration<CacheEventDispatcherFactory,java.lang.String>
public java.lang.String getThreadPoolAlias()
public java.lang.String derive()
ServiceConfiguration
derive
in interface ServiceConfiguration<CacheEventDispatcherFactory,java.lang.String>
public DefaultCacheEventDispatcherConfiguration build(java.lang.String alias)
ServiceConfiguration
build
in interface ServiceConfiguration<CacheEventDispatcherFactory,java.lang.String>
alias
- a detached representation