[infinispan-dev] Adding a cache in another cache..
Manik Surtani
manik at jboss.org
Wed Mar 16 08:59:19 EDT 2011
No. Cache contents need to be Serializable. A Cache is not.
On 16 Mar 2011, at 12:54, venkatesh k c wrote:
> hi,
>
> I'm trying to store a cache in another cache.
> is it possible..?
> EmbeddedCacheManager cacheManager = new DefaultCacheManager("config.xml");
> Cache<Object,Object> cache = cacheManager.getCache();
> Cache<Object,Object> store = cacheManager.getCache();
>
> cache.put("Cache",store);
>
> Please reply ASAp
>
> Thanks in Advance
>
> Regards..
> Venkatesha.k.c
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org
More information about the infinispan-dev
mailing list