You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Dougall Squair <Do...@metcash.com> on 2003/09/22 00:36:11 UTC

Selecting the cache depending on the object's class

Hi, 

I read on this list that there was some refactoring of the cache
implementation 
being currently carried out. Will this refactor include the ability to 
select the type of cache an object's class uses?

It would be useful to have read only classes in a VM wide cache with the 
remainder using session level cacheing.

Dougall 




-----Original Message-----
From: Armin Waibel [mailto:armin@code-au-lait.de]
Sent: Tuesday, 16 September 2003 12:49 AM
To: OJB Users List
Subject: Re: Cache and OJB


Hi Carlos,

> I need a cache that have a refresh feature

today or tomorrow I will checkin some
refactored cache classes. Then it is among
many other things possible to set a 'timeout' attribute
(to reclaim outdated objects) for
ObjectCacheDefaultImpl implementation.

If you don't want to wait so long, it's
easy implement your own ObjectCache ;-)

regards,
Armin 

----- Original Message ----- 
From: "Carlos Henrique Leclerc De Oliveira" <cl...@uolinc.com>
To: <oj...@db.apache.org>
Sent: Monday, September 15, 2003 4:38 PM
Subject: Cache and OJB


> Hi all,
> 
> What is the better cache implementation for OJB?
> 
> I need a cache that have a refresh feature. 
> Do you know anyone?
> 
> Thanks.
> Carlos Henrique
> 
> ___________________________
> Carlos Henrique Leclerc Oliveira
> Tecnologia - UOL Inc.
> tel +55 11 3038-8459
> http://www.uol.com.br
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Selecting the cache depending on the object's class

Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi,

> It would be useful to have read only classes in a VM wide cache with
the
> remainder using session level cacheing.
should be possible now.
the refactored classes are checked in, see
http://article.gmane.org/gmane.comp.jakarta.ojb.devel/3763

+ javadoc of cache-package classes

e.g. ObjectCachePerBrokerImpl as default
and ObjectCacheDefaultImpl in read-only classes

regards,
Armin

----- Original Message -----
From: "Dougall Squair" <Do...@metcash.com>
To: "'OJB Users List'" <oj...@db.apache.org>
Sent: Monday, September 22, 2003 12:36 AM
Subject: Selecting the cache depending on the object's class


> Hi,
>
> I read on this list that there was some refactoring of the cache
> implementation
> being currently carried out. Will this refactor include the ability to
> select the type of cache an object's class uses?
>
> It would be useful to have read only classes in a VM wide cache with
the
> remainder using session level cacheing.
>
> Dougall
>
>
>
>
> -----Original Message-----
> From: Armin Waibel [mailto:armin@code-au-lait.de]
> Sent: Tuesday, 16 September 2003 12:49 AM
> To: OJB Users List
> Subject: Re: Cache and OJB
>
>
> Hi Carlos,
>
> > I need a cache that have a refresh feature
>
> today or tomorrow I will checkin some
> refactored cache classes. Then it is among
> many other things possible to set a 'timeout' attribute
> (to reclaim outdated objects) for
> ObjectCacheDefaultImpl implementation.
>
> If you don't want to wait so long, it's
> easy implement your own ObjectCache ;-)
>
> regards,
> Armin
>
> ----- Original Message -----
> From: "Carlos Henrique Leclerc De Oliveira" <cl...@uolinc.com>
> To: <oj...@db.apache.org>
> Sent: Monday, September 15, 2003 4:38 PM
> Subject: Cache and OJB
>
>
> > Hi all,
> >
> > What is the better cache implementation for OJB?
> >
> > I need a cache that have a refresh feature.
> > Do you know anyone?
> >
> > Thanks.
> > Carlos Henrique
> >
> > ___________________________
> > Carlos Henrique Leclerc Oliveira
> > Tecnologia - UOL Inc.
> > tel +55 11 3038-8459
> > http://www.uol.com.br
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org