Vadim Gritsenko dijo:
> Unico Hommes wrote:
>
>>Vadim Gritsenko <vadim <at> reverycodes.com> writes:
>>
>>
>>
>>>Unico Hommes wrote:
>>>
>>>It's acceptable only for *persistent* cache, but not for transient
>>>*object* cache. Cocoon requires transient cache for it to work
>>>(Templates caching etc), while persistent cache is optional.
>>>
>>>
>>>
>>
>>You are right. This should be the correct behavior. I am going to see how
>> JCS
>>can manage that and else see if EHCache manages it.
>>
>>
>
> I took a look at org.apache.jcs.access.CacheAccess, and it has 9 casts
> to Serializable, even when not needed. And CacheElement object contains
> two Serializables as key and value, not Objects.
>
> It seems it will be extensive API change for JCS to change all
> Serializables to Objects. I don't know wether they are in position to do
> such change (and wether they will want to do this change) or not.

I already posted a message to JCS developers:

http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&by=thread&from=769203

I hope it will be solved. :-D

Best Regards,

Antonio Gallardo

Reply via email to