Questions tagged [ehcache-3]

For questions specific to Ehcache version 3. For general question about Ehcache, use the [ehcache] tag

Ehcache version 3 is the latest version of Ehcache. For more information about Ehcache, see the main Ehcache wiki.

Site: http://www.ehcache.org/

Github: https://github.com/ehcache/ehcache3

172 questions
0
votes
1 answer

EhCache disk persistence - persist an arbitrary object

I want to use EhCache to persist objects on the disk, so in the next time I will run my app it will load from it. In their documentation, there is the following example for using PersistentCacheManager class to do so: PersistentCacheManager…
Ariel Netz
  • 111
  • 1
  • 10
0
votes
1 answer

How to use environment profile with ehcache for mybatis?

We can config ehcache in classpath:ehcache.xml But I have different environment profile such as "test","prod" How can I use profile to config ehcache in different environment for mybatis?
blackcatIan
  • 275
  • 1
  • 3
  • 9
0
votes
1 answer

Unmodifiable Cache in EhCache

I recently learned about Unmodifiable Map that returns an unmodifiable copy of the Map. Is there any such implementation that prevents the modification of data of Cache entries in EhCache?
Asutosh Rana
  • 64
  • 1
  • 11
0
votes
0 answers

Cache creation fails EhCache on IBM z/OS USS

I am trying to create a cache that could write entries to disk. It runs fine in my tests on Windows but when I deploy it on IBM z/OS USS, I end up in the following error. I have 0777 on the directory and there is enough space available on the disk.…
User2709
  • 573
  • 5
  • 17
-1
votes
0 answers

How to create cacheManager with statistics enabled and with xml configuration in ehcache 3.x

How to create cache manager from xml configuration and with statistics enabled in ehcache3 I want how to create cachemanager with statics enabled from xml configuration. I want with ehcache version 3 with statistics enabled and we have to…
Niranjan
  • 1
  • 1
-1
votes
1 answer

Camel Cache Time To Live for Ehcache 3 not working

I'm using ehcache 3.0 and the latest version of Apache camel. I'd like to delete the element from cache after 120 seconds. Following is the piece of code I'm using to achieve the same
Rakhi Oza
  • 75
  • 1
  • 8
-1
votes
1 answer

what are the differences/comparison between the two popular java Caching frameworks hazelcast cache vs ehcache?

Looking for comparison between two caching frameworks --> Hazelcast v3.10.5 vs ehcache v3.6.1, also please throw light on performance. Two popular cache frameworks evolved over a period. we are in now 2018. We choose a caching framework for better…
Nagesh
  • 277
  • 6
  • 14
1 2 3
11
12