Comments (8)
Hey Jon,
Thanks for the detailed report. I'll look into this today and will update you here...
Alex
from ehcache-jcache.
There is a bug indeed. It's identified... PR coming up
from ehcache-jcache.
Great, for a while there I was really wondering what I was doing wrong.
from ehcache-jcache.
I'm to blame for this, sorry about that. But thanks again for this detailed description! Really helps helping you quickly :). I'm proposing we cut a 1.0.1 release early November, but you probably may want to check the -SNAPSHOT as soon as this is merged in!
from ehcache-jcache.
@alexsnaps, what is the plan for the 1.0.1 release?
from ehcache-jcache.
Working on getting this out asap, hopefully today!
from ehcache-jcache.
timeToIdleSeconds and timeToLiveSeconds are not working as expected when I'm using ehcache with spring boot by configuring through xml.
My sample ehcache configuration looks like below:
<diskStore path="java.io.tmpdir" />
<cache name="usersCache"
maxEntriesLocalHeap="10000"
maxEntriesLocalDisk="1000"
eternal="false"
diskSpoolBufferSizeMB="20"
timeToIdleSeconds="3"
timeToLiveSeconds="3"
memoryStoreEvictionPolicy="LFU"
transactionalMode="off">
<persistence strategy="localTempSwap" />
</cache>
Even after 3 seconds, element is not flushed or evicted from cache. Please let me know, if my configuration is wrong or missed anything.
I'm using Ehcache 3.5.2 version.
from ehcache-jcache.
@gchaitu795 No you are not. This is an Ehcache 2 configuration. And ehcache-jcache is for Ehcache 2. This project is not maintained anymore.
If you have user support questions, please use the ehcache mailing list. Picking randomly an issue that seems to be related to your question is not really considered good manners.
from ehcache-jcache.
Related Issues (20)
- cache-annotations-cdi: java.lang.IllegalArgumentException: cacheValueParameter cannot be null HOT 1
- Update deps to latest versions
- Perform release of 1.0.0 to maven central HOT 1
- CacheLoaderException when reading from cache and no loader factory is specified HOT 6
- Default configuration in ehcache.xml is not used on created JCache instances HOT 3
- Use defaultCache to read default values for 107 unspecified props HOT 1
- JCacheStatMXBean.clear() clears the Cache?! HOT 1
- Could not create a cache named "default" through the JSR-107 API HOT 2
- Updating cache with EntryProcessor does not update HOT 2
- Support EHCache 2.4/2.6? HOT 4
- JCacheConfiguration ignores eternal flag if configured using ehcache.xml HOT 13
- Race Condition in JCacheManager between createCache() and getCache() HOT 5
- PR #45 introduced a failure
- Error creating caches with a TTL HOT 5
- Read configuration from file path
- ExpiryPolicy on existing caches lost after calling getCache on non-existing cache HOT 3
- Source files without license headers
- Potential Unreleased Lock
- getCache(cacheName, keyType, valueType) doesn't work for pre-configured cache HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ehcache-jcache.