4 Replies Latest reply on Jan 15, 2005 10:02 AM by Thomas Cherel

    Eviction policy using soft/weak references

    Thomas Cherel Novice

      I do not think that JBossCache uses any weak/soft reference in its implementation, so I wonder how one would implement an "automatic eviction policy" using weak/soft reference so objects are removed from the cache only when not referenced by anybody anymore (or something like that).
      Can such mechanism make sense in JBossCache?
      Some other caches do provide similar functionalities (like SwamCache).