Eventually I think it should be linked to the UserRepository and the Mailbox.  The 
more I think about it we can just calculate the present message size and store it in 
the mailbox.  We don't need to rely on underlying support.  We should support both 
"safe" and "fast" quotas.  Safe quotas are done as a (potentially slow) calculation 
(select sum(size) from entitymailbox where user=X) and fast quotas maintain a lookup 
table.  The reason one is safe and one is fast is that the lookup table could easily 
get out of synch.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to