Thanks Manik. It helps but I am getting null data even if key exists
pCache.exists(cacheKey) returns true but find data returns null
Fqn<String> cacheKey = CacheManager.getKey(...........);
if(pCache.exists(cacheKey)){ --- returns true
rc = ( List<Fund> )pCache.find(cacheKey); -- returns
null data
}
________________________________
From: Manik Surtani [mailto:manik@jboss.org]
Sent: Tuesday, January 05, 2010 12:06 PM
To: Kavitha Durai
Cc: jbosscache-dev(a)lists.jboss.org
Subject: Re: [jbosscache-dev] Node removed from file system when
activated
Set passivation to false.
On 5 Jan 2010, at 16:40, Kavitha Durai wrote:
I am using FileCacheLoader as a cacheloader and node gets passivated as
expected, But noticed that node is removed from the file system when it
is activated.
How to avoid this behavior of removing the node when it is activated?.
I want the data to be in the file system ever so that it can get
activated whenever it is required.
Regards,
Kavitha Durai.
This e-mail communication and any attachments may contain confidential
and privileged information and are for use by the intended addressee(s)
only. If you are not the intended addressee, you have received this
communication in error. Any dissemination or reproduction of this email
or its contents is strictly prohibited and may be unlawful. If you
suspect you have received this communication in error, please notify us
immediately by replying to this message and delete it from your
computer.Thank you. _______________________________________________
jbosscache-dev mailing list
jbosscache-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev
--
Manik Surtani
manik(a)jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org
This e-mail communication and any attachments may contain confidential and privileged
information and are for use by the intended addressee(s) only. If you are not the
intended addressee, you have received this communication in error. Any dissemination or
reproduction of this email or its contents is strictly prohibited and may be unlawful. If
you suspect you have received this communication in error, please notify us immediately by
replying to this message and delete it from your computer.Thank you.