[jbosscache-dev] Node removed from file system when activated
Kavitha Durai
Kavitha.Durai at rohatyngroup.com
Tue Jan 5 14:38:07 EST 2010
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 at jboss.org]
Sent: Tuesday, January 05, 2010 12:06 PM
To: Kavitha Durai
Cc: jbosscache-dev at 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 at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosscache-dev
--
Manik Surtani
manik at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosscache-dev/attachments/20100105/ebacf5bf/attachment-0001.html
More information about the jbosscache-dev
mailing list