Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4242721

Wanted: java.util.Cache class

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 1.2.0
    • core-libs
    • generic
    • generic



      Name: krT82822 Date: 05/31/99


      I would like a standard class that implements the Map interface
      and refers to its values only through SoftReferences. Such a beast
      would provide a simple memory-sensitive cache which could be very
      useful in a variety of applications. Also, note how this class
      would naturally complement the existing WeakHashMap class (which
      stores its keys using WeakReferences and its values using strong
      references).
      (Review ID: 83692)
      ======================================================================

        1. Cache.java
          50 kB
          Sergey Malenkov

            mr Mark Reinhold
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: