[jboss-user] [JBossCache] - FileCacheLoader partial preload
emailmsgbox
do-not-reply at jboss.com
Sun Dec 10 09:31:22 EST 2006
I?m using JBossCache-1.4.1.BETA and caching an object that contains some primitive fields, strings and a Map
I use the following FileCacheLoader configuration
| <passivation>false</passivation>
| <preload>/</preload>
| <shared>false</shared>
|
| <cacheloader>
| <class>org.jboss.cache.loader.FileCacheLoader</class>
| <properties>location=/confCacheFile</properties>
| <async>false</async>
| <fetchPersistentState>true</fetchPersistentState>
| <ignoreModifications>false</ignoreModifications>
| <purgeOnStartup>false</purgeOnStartup>
| </cacheloader>
|
|
I kill the JBoss and bring it back up again.
I can re-access the object it?s fields .
The Map however has a strange behavior: it is not null
| myObj.size() = 0
| myObj.values() is empty
| myObj.keySet () is empty
|
| But
|
| myObj.get(aKey) returns the entry
|
|
How can I get myObj.values() to work ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992538#3992538
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992538
More information about the jboss-user
mailing list