[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-user
Subject: Re: Controlling Slide cache, was Re: patch for auto-create-users
From: Oliver Zeigermann <ozeigermann () c1-fse ! de>
Date: 2004-04-27 14:50:34
Message-ID: 408E733A.9030104 () c1-fse ! de
[Download RAW message or body]
ExtendedStore allows you to invalidate entries. Subclass it and add your
code that talks to your client store to find out which entries to
delete. Use something like getTxCache().remove(null, [key to be
invalidated] on objectsCache, permissionsCache, etc.
Oliver
Carlos Villegas wrote:
> Hi,
>
> Daniel Florey wrote:
>
>> If LDAP provides some notification mechanism for informing slide about
>> user/role updates additional user/role caching would be possible to
>> achieve better performance.
>
>
> I have a custom store that gets user/role info from an external source.
> I set it up in the Domain.xml and it's working but Slide caches the
> objects and do not go to my store to get updated info. I can also detect
> external updates, but how do I control the caching in Slide? I don't
> want to disable caching completely. Is there a way to invalidate a cache
> entry from within my store code?
>
> Thanks,
>
> Carlos
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
> .
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic