commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <g-froehl...@gmx.de>
Subject RE: [AltRMI] Two way weak hashmap for distributed garbage collection
Date Sat, 16 Feb 2002 18:19:55 GMT

>-----Original Message-----
>From: Paul Hammant [mailto:Paul_Hammant@yahoo.com]
>Sent: Saturday, February 16, 2002 2:22 PM
>To: Jakarta Commons Developers List
>Subject: Re: [AltRMI] Two way weak hashmap for distributed garbage
>collection
>
>
>Juozas,
>
>Thanks but I have had an on/off relationshp with finalize() from 1998
>onwards.  Sun even give advice on why it should not be used.
>
>It is a WeakReference soltution I am looing for.

Just throw a look into:
http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simple
store/cache/impl/SoftRefMemoryCache.java

that's based on weak references...

  ~Gerhard

"When I die, I want to go just like my Grandfather,
in my sleep.
Not like the screaming passengers in the car
he was driving."
(Ancient Chinese Proverb)


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message