Example

2003-09-10 Thread purushotham komaravolu
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

RE: Memory test

2003-09-10 Thread Daniel Rosenbaum
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 = +

RE: Errors from LRUMemoryCache

2003-09-10 Thread Todd Carmichael
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

Re: Simple Example of Accessing JCS Cache

2003-09-10 Thread Craig Johannsen
/* * JCSTest.java * * Created on Sept 10, 2003, 12:21 PM * * $Log$ */ //== // Imports for JCS. //== import org.apache.jcs.JCS; import