Hi Bhatiya,

According to the code, default caching expiry time has been set as 15 mins.

Regards,
Firzhan

On Fri, Oct 17, 2014 at 10:09 AM, Afkham Azeez <[email protected]> wrote:

> Use javax.cache.Cache
>
> On Fri, Oct 17, 2014 at 9:52 AM, Darshana Gunawardana <[email protected]>
> wrote:
>
>> Hi Azeez,
>>
>> What it needs here is a distributed map which get synced among nodes in
>> the cluster.
>>
>> 1. What would be the best way to do that? Using a Hazelcast distributed
>> map?
>> 2. If Hazelcast distributed map is a option, do we have a way to use a
>> Hazelcast map when writing a component using 4.2.0 kernel.
>>
>> Thanks,
>> Darshana
>>
>> On Fri, Oct 17, 2014 at 9:31 AM, Afkham Azeez <[email protected]> wrote:
>>
>>>
>>>
>>> On Fri, Oct 17, 2014 at 12:44 AM, Firzhan Naqash <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Are there any specific way to make sure that cache doesn't get
>>>> invalidated other than setting a longer duration in the setExpiry() method
>>>> of CacheBuilder ?
>>>>
>>>
>>> No you have to set a large cache expiry time
>>>
>>>>
>>>>
>>>>
>>>> Regards,
>>>> Firzhan
>>>>
>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>*
>>> *email: **[email protected]* <[email protected]>
>>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>> *twitter: **http://twitter.com/afkham_azeez*
>>> <http://twitter.com/afkham_azeez>
>>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>>
>> *Darshana Gunawardana*Software Engineer
>> WSO2 Inc.; http://wso2.com
>>
>> *E-mail: [email protected] <[email protected]>*
>> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **[email protected]* <[email protected]>
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter: **http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to