spring-framework / org.springframework.cache.ehcache / EhCacheFactoryBean / setBlocking

setBlocking

open fun setBlocking(blocking: Boolean): Unit

Set whether to use a blocking cache that lets read attempts block until the requested element is created.

If you intend to build a self-populating blocking cache, consider specifying a CacheEntryFactory.

See Also
net.sf.ehcache.constructs.blocking.BlockingCache#setCacheEntryFactory