Hi Abimaran,

Handling caches is nothing different from normal map operations. You insert
entries to the map to add to the cache. And remove the items from the map
to remove items from the cache. See few example in the following class

[1]
https://github.com/wso2/carbon-kernel/blob/4.5.x/core/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/caching/CachingHandler.java#L93

Shazni Nazeer
Mob : +94 777737331
LinkedIn : http://lk.linkedin.com/in/shazninazeer
Blog : http://shazninazeer.blogspot.com

On Mon, May 16, 2016 at 11:04 AM, Abimaran Kugathasan <abima...@wso2.com>
wrote:

> Hi Devs,
>
>
> How can we update a cache entry in WSO2 products. I'm aware that, we are
> using Hazelcast
> <http://docs.hazelcast.org/docs/3.0/manual/html/ch02.html#Map> based
> caching. Do we provide any APIs to update/remove entried from cache?
>
> --
> Thanks
> Abimaran Kugathasan
>
> Software Engineer | WSO2 Inc
> Data & APIs Technologies Team
> Mobile : +94 773922820
>
> <http://stackoverflow.com/users/515034>
> <http://lk.linkedin.com/in/abimaran>
> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
> <https://twitter.com/abimaran>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to