Hi ,
I am a newbie to JCS. Can somebody pass me information about how to
integrate JCS with a standalone java application or any other application;
i.e. I need some sort of helloworld JCS tutorial.
Thanks
Regards,
Puru
-
To
Thanks Wayne and Amy for your help.
Firstly with the -verbose:gc option, I modified my code as
follows:
for(int i=0; i 2; i++) {
Vector vec = new Vector();
testCache.put(key+i, vec);
if (i%1000==0) {
System.out.println(i= + i);
System.out.println(avail = +
Both of the method calls within the synchronized block are already marked as
synchronized. How does the synchronized block around the two calls solve a
problem unless two threads were trying to update the exact same instance of
ICacheElement?
ToddC
-Original Message-
From: Amy Wang
/*
* JCSTest.java
*
* Created on Sept 10, 2003, 12:21 PM
*
* $Log$
*/
//==
// Imports for JCS.
//==
import org.apache.jcs.JCS;
import