jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Liebenberg <h...@cambrient.com>
Subject Re: [SPAM] Re: Manual remove broadcast in lateral cache
Date Wed, 26 Nov 2008 14:08:39 GMT
HI,

Thanks, I did check the code to find the place I would need to make a 
change but have decided against it due to the "hack" nature of it.
The reason I need it is that my object I store in cache has a member 
hashtable of values. Our application can modify that hashtable without 
modifying the rest of the object in which case no "remove" or "put" is 
done from the cache. I have decided to rather make changes to our app 
then to the JCS code.

Thanks for your help though


Betten, Thorben wrote:
> Hello,
>
> AFAIK it's not possible via API. Why do you want to do that?
> Doesn't the cache policy to issue a remove on putmeet your requirements?
>
> Anyway:
> Then one thing coming into my mind would be to patch the class
> org.apache.jcs.engine.control.CompositeCacheto add a getter method
> for member variable auxCaches.
>
> Then you can access your cache as you already do:
> JCS.getInstance(String region)or directly viaCompositeCacheManager.getCache(String region)
> and then get returned composite cache's auxiliray caches to perform a remove on auxiliary
only.
>
> But this is kind of dirty hack and probably not a good solution to accomplish described
scenario.
>
>
> Hans Liebenberg <hans@cambrient.com> hat am 25. November 2008 um 14:57 geschrieben:
>
>   
>> Hi,
>>
>> Is there currently a way,via the API, to manually broadcast a "remove" 
>> of a specific key to other nodes in a tcp lateral configuration without 
>> having to remove from the node in question.
>>
>> Thanks
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jcs-users-help@jakarta.apache.org
>>
>>     
>
>
>
>
> --
> with best regards,
> Thorben Betten
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message