• Implementation
  • Status: Closed
  • 2 Major
  • Resolution: Won't Fix
  • interfaces
  • Reporter: amiller
  • August 26, 2009
  • 0
  • Watchers: 2
  • July 27, 2012
  • March 23, 2011

Description

To move sessions to distributed cache infrastructure, need to have evictor be able to tryLock before evicting an entry. Right now, this is done in sessions to prevent an entry from being evicted even if in a long use pattern (> TTI).

Comments

Alex Miller 2009-09-23

Not sure what release this is, but it ain’t Adelaide.

Fiona OShea 2010-06-15

Is this done already?

Tim Eck 2010-06-17

we’re not moving sessions to distributed cache in 3.3.0, so moving this to next release

Fiona OShea 2010-11-02

Please link and mark as dup of the jira to make sessions use ehcache

Fiona OShea 2011-03-02

We are not doing it in 3.5 either. Can’t find the ‘related’ or duplicate jira. So just moving this out.

gluck 2011-03-02

OpenJPA needs a “pinning” API, so that an element can be pinned in memory. And I have a vague recollection of reported issues where we evict something that Hibernate has a softlock on during it’s transactions. We should look comprehensively at all of our pinning requirements when implementing this.

Chris Dennis 2011-03-23

This issue is essentially a moot point, I imagine that long running sessions will be saved from the evictor by being pinned (pinning is currently planned for the next major release of Ehcache).