Ehcache API Developer Guide : Cache Event Listeners : Event Processing Queues
Event Processing Queues
Advanced users may want to tune the level of concurrency which may be used for delivery of events.

CacheConfiguration<Long, String> cacheConfiguration =
CacheConfigurationBuilder.newCacheConfigurationBuilder(Long.class,
String.class, ResourcePoolsBuilder.heap(5L))
.withDispatcherConcurrency(10)
.withEventListenersThreadPool("listeners-pool")
.build();
Copyright © 2010-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback