[JBoss-user] [JBossCache] - Re: Notification for removeData() calls
Sorry for asking again. Do you think, this is a bug? I found no according JIRA Issue, i thought i ask here before opening an JIRA Issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905199#3905199 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905199 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Please don't deprecate Node.getData()
We use this method to get an iterator for the key-value-pairs of a TreeNode. The proposed alternative solution is to Use get(Object key) instead., but this requires to know all keys within this node. We use this e.g. to remove only out-dated values from the cache. This is much faster than to remove all and recalculate all the values. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905206#3905206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905206 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Notification for removeData() calls
Hello. 1) Calling removeData() for a node, which contains data, i get a NodeVisited notification. Instead i would expect a NodeModified notification (And now one NodeModifiy-Before and one NodeModify-After notification). 2) Calling removeData() again (now the node has no more data), again a NodeVisited notification occurs. Here i would expect no notification at all, since no modification happend, especially no NodeModified or NodeModify notification. Here you can argue that TreeCache can't suppress all notifications, where the resulting data is identical to the data at the beginning, so applications must always be able to handle such situations. But where TreeCache can easily skip such notifications, it should do so, to reduce overhead. I'am now using standalonf JBossCache 1.2.4 with BEA weblogic. Regards, Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904414#3904414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904414 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Notification for removeData() calls
Yes, I'am using Transactions. But the direct notification within the transaction is not my problem. With the JBossCache, i now have to distinguish a VisitedNotification, which indicates a Modification, from another, say normal, VisitedNotification which indicates a read access. Now i debugged into the JBossCache-Sources (thanks for including them into the download!) and i found following snipped in method _removeData. I don't understand the reason for the line, i marked with : Why sending NodeVisited as normal notification? I would expect NodeModified, which is in the else-block. Regards, Martin public void _removeData(GlobalTransaction tx, Fqn fqn, boolean create_undo_ops, boolean sendNodeEvent, boolean eviction) throws CacheException { [...] if(eviction) notifyNodeEvict(fqn, true); else notifyNodeModify(fqn, true); n.clear(); if(eviction) n.put(UNINITIALIZED, null); // required by cache loader to subsequently load the element again if(sendNodeEvent) { notifyNodeVisited(fqn); } else { // FIXME Bela did this so GUI view can refresh the view after node is evicted. But this breaks eviction policy, especially AOP if(eviction) { notifyNodeEvicted(fqn); notifyNodeEvict(fqn, false); } else { notifyNodeModified(fqn); // todo: merge these 2 notifications back into 1 ! notifyNodeModify(fqn, false); } } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3904570#3904570 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3904570 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Compatible with JBoss 3.2.6?
Hello, Is JBossCache 1.2.4 compatible with JBoss 3.2.6? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3902945#3902945 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3902945 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - TreeCacheListener in Cluster
On a Cluster, my TreeCacheListener is notified only on the clusterNode, where the modification was invoked. On another clusterNode, my listener is not called. Concrete: On clusterNode A, treeNode 1 is created. The listener A on clusterNode A is notified, but not listener B on clusterNode B. If a treeNode is created on clusterNode B, only listener B is notified. Replication works fine. Is there a possibility, to get listeners an all clusterNodes notified (for the same modification)? Thanks, Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894186#3894186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894186 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheListener in Cluster
I added printlns into the very first lines of my listener, and - you're right - it is called on all nodes. They must be lost within my own code. Thanks for confirmation. Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894207#3894207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894207 --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user