logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Multiple Object and single Key Value: msg#00008

jakarta.turbine.jcs.devel

Subject: Re: Multiple Object and single Key Value

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@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx
> web:
> www.switchfire.com
>
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation