jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Guru" <gururaj.abhis...@gmail.com>
Subject Re: Multiple Object and single Key Value
Date Wed, 05 Dec 2007 19:20:03 GMT
Thanx Niall.

This is fantastic. Its working very nice so far and application become
faster too.

Regards
Abhishek

On Dec 5, 2007 5:34 AM, Niall Gallagher <niall@switchfire.com> wrote:

> Hi Abhishek,
>
> You can treat JCS like a HashMap.
>
> Anything you can do with a HashMap you can do with JCS.
> Anything you cannot do with a HashMap, you cannot do with JCS.
>
> Run some tests using HashMap, to see if what you want to do is possible.
>
> Remember that theoretically two different strings or URLs can have the
> same hashcode. This might cause some unexpected behaviour in your
> application. Consider using (string) URLs as keys instead of their
> hashcodes.
>
> Also you should probably post your questions to the jcs-users mailing
> list, as this list is for developers who work on the code inside JCS
> itself.
>
> You asked about the source code of JCS. The link on the main JCS website
> works for me:
> http://jakarta.apache.org/jcs/cvs-usage.html
> http://svn.apache.org/viewvc/jakarta/jcs/trunk/
>
> Best regards,
> Niall
>
> On Tue, 2007-12-04 at 14:25 -0800, Abhishek Guru wrote:
>
> > hi All,
> >
> >    Is there any way I can retrieve all objects as list or so using same
> key.
> >
> >
> >    My requirement is like, I am converting string to hashvalue, but for
> that
> > value there are many objects in cache. I was wondering whether JCS
> provides
> > such thing.
> >
> > Regards
> > Abhishek
> >
>
>
> ____________________________________
> Niall Gallagher
>
> Technical Architect
> Switchfire Ltd.
> phone:
>              + 44 (0)20 7798 2807
> fax:
>              + 44 (0)20 7798 2801
> email:
>               niall@switchfire.com
> web:
>                 www.switchfire.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message