This content has been marked as final.
Show 3 replies
-
1. Re: relationship between jboss cache service and cache loade
manik Apr 24, 2006 8:42 AM (in response to sarojk)Which version of JBossCache do you use? I'd suggest referring to the docs on http://labs.jboss.org/portal/jbosscache/docs/index.html
-
2. Re: relationship between jboss cache service and cache loade
sarojk Apr 26, 2006 6:51 AM (in response to sarojk)Thanks for your reply. I am using Jboss 4.0.2. I learned that put(List modifications) of CacheLoader(my configured cache loader) is being called while using Transation.
Can you give some information about Modification object, specially what modification.getType() does? I saw JDBCCacheLoader implementation, which is using switch case 1 to case 6. What do these case indicate?
Looking forward for your reply
Thanks and regards
Saroj -
3. Re: relationship between jboss cache service and cache loade
manik Apr 26, 2006 7:23 AM (in response to sarojk)See the src for Modification.java
http://fisheye.jboss.org/viewrep/~raw,r=1.4/JBoss/JBossCache/src/org/jboss/cache/Modification.java/** * Put key/value modification. */ public static final byte PUT_KEY_VALUE=1; /** * Put data (Map) modification. */ public static final byte PUT_DATA=2; /** * Erase existing data, put data (Map) modification. */ public static final byte PUT_DATA_ERASE=3; /** * Remove a node modification. */ public static final byte REMOVE_NODE=4; /** * Remove a key/value modification. */ public static final byte REMOVE_KEY_VALUE=5; /** * Clear node's Map modification. */ public static final byte REMOVE_DATA=6; /** * Stores data in a Fqn using a byte array. */ public static final byte STORE_STATE=7;