org.ehcache.impl.config.event
Class DefaultEventSourceConfiguration

java.lang.Object
  extended by org.ehcache.impl.config.event.DefaultEventSourceConfiguration
All Implemented Interfaces:
StoreEventSourceConfiguration, ServiceConfiguration<Store.Provider>

public class DefaultEventSourceConfiguration
extends java.lang.Object
implements StoreEventSourceConfiguration

DefaultEventSourceConfiguration


Field Summary
 
Fields inherited from interface org.ehcache.core.config.events.StoreEventSourceConfiguration
DEFAULT_EVENT_PARALLELISM
 
Constructor Summary
DefaultEventSourceConfiguration(int orderedEventParallelism)
           
 
Method Summary
 int getOrderedEventParallelism()
          Indicates over how many buckets should ordered events be spread
 java.lang.Class<Store.Provider> getServiceType()
          Indicates which service this configuration works with.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEventSourceConfiguration

public DefaultEventSourceConfiguration(int orderedEventParallelism)
Method Detail

getOrderedEventParallelism

public int getOrderedEventParallelism()
Description copied from interface: StoreEventSourceConfiguration
Indicates over how many buckets should ordered events be spread

Specified by:
getOrderedEventParallelism in interface StoreEventSourceConfiguration
Returns:
the number of buckets to use

getServiceType

public java.lang.Class<Store.Provider> getServiceType()
Description copied from interface: ServiceConfiguration
Indicates which service this configuration works with.

Specified by:
getServiceType in interface ServiceConfiguration<Store.Provider>
Returns:
the service type