Hibernate Ehcache no longer supports the `net.sf.ehcache.hibernate.cache_lock_timeout` configuration property

Description

Previously, Hibernate used to support this net.sf.ehcache.hibernate.cache_lock_timeout which controls how much time a given 2nd-level cache entry is allowed to be locked logically by the READ_WRITE cache concurrency strategy.

You can see the configuration in use on this old ehcache implementation.

Nowadays, the RegionFactory defines a default timeout:

and the AbstractRegionFactory overrides it to:

which is implemented like this:

So, basically, there is no way to change this value using the Hibernate configurations.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

Vlad Mihalcea

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure