public class DefaultEventSourceConfiguration
extends java.lang.Object
implements org.ehcache.core.config.store.StoreEventSourceConfiguration<java.lang.Integer>
ServiceConfiguration for a Store.Provider
related to StoreEvents.| Constructor and Description |
|---|
DefaultEventSourceConfiguration(int dispatcherConcurrency)
Creates a new configuration with the provided dispatcher concurrency for ordered events.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultEventSourceConfiguration |
build(java.lang.Integer concurrency) |
java.lang.Integer |
derive() |
int |
getDispatcherConcurrency() |
java.lang.Class<org.ehcache.core.spi.store.Store.Provider> |
getServiceType() |
public DefaultEventSourceConfiguration(int dispatcherConcurrency)
dispatcherConcurrency - the dispatcher concurrency for ordered eventspublic int getDispatcherConcurrency()
getDispatcherConcurrency in interface org.ehcache.core.config.store.StoreEventSourceConfiguration<java.lang.Integer>public java.lang.Class<org.ehcache.core.spi.store.Store.Provider> getServiceType()
getServiceType in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.core.spi.store.Store.Provider,java.lang.Integer>public java.lang.Integer derive()
derive in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.core.spi.store.Store.Provider,java.lang.Integer>public DefaultEventSourceConfiguration build(java.lang.Integer concurrency)
build in interface org.ehcache.spi.service.ServiceConfiguration<org.ehcache.core.spi.store.Store.Provider,java.lang.Integer>