[JBoss-dev] [JBossCache] - Re: Proposal for JBoss Cache events

2005-01-24 Thread [EMAIL PROTECTED]
When TreeCacheAop detects a field R/W, the EventInterceptor will send out an 
event of object modified (and potentially the mod. fields), not just the field 
event. So this is object level event.

I am not sure if I like the idea of transaction-based event sending out from 
JBossCache either.

-Ben

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Proposal for JBoss Cache events

2005-01-24 Thread [EMAIL PROTECTED]
I'm not sure I understand what you want to do. Do you want to get notified  
when a POJO has been modified, e.g.

p.setAge(80);

triggers a

pojoModified(p, "age", 80) notification ?
The change is quite intrusive, so I want to see the use case first. Also, what 
happens if you don't use transactions ?

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Proposal for JBoss Cache events

2005-01-23 Thread twundke
Ben,
I'm happy for you to move this thread to the design forum. I saw it there, but 
it looks, well, very under-used :-)

As for your suggestion, I'm not sure that it'll do what I'm thinking. Sending 
an event on a field r/w is probably too limiting. Realistically I'm after a 
single user-defined event per transaction. Actually, it could be multiple 
events per transaction, but the idea is still the same.

I guess what I really want to do is be able to push around a user-defined bit 
of data within the cache transaction. If I do it outside of the cache (say 
using JGroups directly) then I end up with potential race conditions with 
events being received out of order etc. I need the guarantee that the 
transaction provides.

Any thoughts? Do you think this change (or something like it anyway) is 
reasonable?

Tim.

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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossCache] - Re: Proposal for JBoss Cache events

2005-01-21 Thread [EMAIL PROTECTED]
Tim,

If this proposal is just to get aop to emit an object-based event, then I am 
adding a new feature in TreeCacheAop (release 1.2.2) that allows customed 
dynamic interceptor. You can then add an EventIntecetor after the current 
CacheInterceptor to intercept and emit object level event based on the field RW 
ops.

Will this do what you want to do?

BTW, we also have a design forum called "Design of JBossCache". We should use 
that one more often. :-)

-Ben


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

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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development