You rock ;)

There is something that could be considered as a future upgrade.
Atm each persistent class will have its own region cache, it might be
usefull to be able to put more than one persistent class in a region cache.

We could specify the following in the cache interface:

public void setClass(String  regionName) throws CacheException;

then if the user use the optional argument 'region' in the <jcs-cache>:

<jcs-cache usage="read-only" region="Test1"/>

then in the RootClass.java, if we find the region attribute, call :

jcs.setClass( regionName);

instead of

jcs.setClass( getPersistentClass() );


----- Original Message -----
From: <Gavin_King/[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 5:09 PM
Subject: JCS integration


> Christian Meunier got me started with some code to integrate Apache
> Tubine's JCS today. I ended up rewriting much of the Cache package and
> making some big improvements. Anyway, you may now specify a JCS cache in
> the mapping file using
>
>   <jcs-cache usage="read-only"/>
>
> or
>
>   <jcs-cache usage="read-write"/>
>
> You must then configure the cache in the resource /cache.ccf
>
> I will deprecate the old homegrown cache soon.
>
> JCS supports things like in-memory LRU caching, disk-caching, distributed
> caching, etc but be careful of using a distributed cache with usage
> ="read-write". That probably wont work.
>
> All in CVS....
>
>




-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to