Code Monkey home page Code Monkey logo

Comments (8)

alexsnaps avatar alexsnaps commented on September 24, 2024

Hey Jon,
Thanks for the detailed report. I'll look into this today and will update you here...
Alex

from ehcache-jcache.

alexsnaps avatar alexsnaps commented on September 24, 2024

There is a bug indeed. It's identified... PR coming up

from ehcache-jcache.

jonekdahl avatar jonekdahl commented on September 24, 2024

Great, for a while there I was really wondering what I was doing wrong.

from ehcache-jcache.

alexsnaps avatar alexsnaps commented on September 24, 2024

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.

jonekdahl avatar jonekdahl commented on September 24, 2024

@alexsnaps, what is the plan for the 1.0.1 release?

from ehcache-jcache.

alexsnaps avatar alexsnaps commented on September 24, 2024

Working on getting this out asap, hopefully today!

from ehcache-jcache.

gchaitu795 avatar gchaitu795 commented on September 24, 2024

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.

henri-tremblay avatar henri-tremblay commented on September 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.