[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

jimshowalter do-not-reply at jboss.com
Tue Sep 30 14:21:12 EDT 2008

Typo. The code example should have been:

public final void cache(Object somethingToCache, ReplicationMode replicationMode) throws ServiceException 
TreeCache treeCache = mTreeCache; 
Fqn typePath = MetadataCachePaths.typePathFor(somethingToCache); 

if ((replicationMode == ReplicationMode.Replicate) && (treeCache.getCacheModeInternal() != 1)) 

treeCache.put(typePath, BaseTypeKey, somethingToCache); 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179640#4179640

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179640

More information about the jboss-user mailing list