RE: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-31 Thread Paulo Gaspar
Developers List' Subject: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check in) I found this example of a MRUCache on the sun site and tried making a memory cache plugin with the technique. http://developer.java.sun.com

RE: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-31 Thread Aaron Smuts
31, 2002 6:24 AM To: 'Jakarta Commons Developers List' Subject: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check in) I found this example of a MRUCache on the sun site and tried making a memory cache plugin

RE: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-31 Thread Aaron Smuts
-Original Message- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 3:38 AM To: Jakarta Commons Developers List Subject: Re: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check

RE: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-31 Thread Juozas Baliuka
skip You should try to build it as a memory plugin for JCS. It might require some element attribute additions (what type of reference) if they are useful. The cache hub manages expiration at request time, this could be moved to a background thread. Cleanup of unused items could result in

RE: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-31 Thread Aaron Smuts
-Original Message- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 12:23 PM To: Jakarta Commons Developers List Subject: RE: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-30 Thread Juozas Baliuka
Hi, http://jdbm.sourceforge.net/ recommended by Aaron is very interesting. There are a lot of good ideas. I write test cases for some very simple O/R mapping framework , It can be used in some trivial situations and can be in simplestore samples. I will use it for readonly data. I want to

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-30 Thread Aaron Smuts
Actually, I recommend using and adding to JCS which is in the stratum repository. Ha. -Original Message- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 2:09 PM To: Jakarta Commons Developers List Subject: RE: [simplestore] enhancements

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-19 Thread Juozas Baliuka
+1 on changing the interface! The old one seems not to be very useful. Some of the methods are not needed! +1 For the Exceptions I hope I will find some time on the weekend to do this stuff. But you can grap something if you want! a) implementing Testing classes b) changing the interface Hi,

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-19 Thread Gerhard Froehlich
Hi, From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] +1 on changing the interface! The old one seems not to be very useful. Some of the methods are not needed! +1 For the Exceptions I hope I will find some time on the weekend to do this stuff. But you can grap something if you want! a)

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-19 Thread Juozas Baliuka
Agree, then I will move the StoreJanitor in a different package. Maybe we can forget it totally. I will change the interface today. But I think (as you) the most important things are Test classes and benchmarks. Hi, I did almost nothing today, I write a test case, it is the same as main method

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-19 Thread Gerhard Froehlich
Hi Juozas, -Original Message- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 19, 2002 5:54 PM To: Jakarta Commons Developers List Subject: RE: [simplestore] enhancements (was: [simplestore] inital check in) Agree, then I will move the StoreJanitor

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-17 Thread Gerhard Froehlich
Juozas, From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Agree! I wanted to setup a junit test enviroment at the weekend! Do you have experience with junit? There are a lot frameworks for unit tests, but we need to JUnit if it is going to be in commons, Simple store has chances to become

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-17 Thread Aaron Smuts
-Original Message- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 8:17 AM To: Jakarta Commons Developers List Subject: RE: [simplestore] enhancements (was: [simplestore] inital check in) Maybe I understand you wrong, but look

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-17 Thread Juozas Baliuka
- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 8:17 AM To: Jakarta Commons Developers List Subject: RE: [simplestore] enhancements (was: [simplestore] inital check in) Maybe I understand you wrong, but look at this: In the Cocoon project we have

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-16 Thread Juozas Baliuka
Ok, But this code is not very useful, It can be an SoftReference usage example. It is better to implement java.util.Map interface if simplestore is kind of cache not Storage. It is some kind SoftMap implementation in commons collections, but this class is not meaningful, because use public