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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org