[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Paging discussion: (Repost)

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Aug 18 19:29:55 EDT 2008


One thing I did on the Paging Branch was to create three new methods on ServerMessage to control reference counting.

   int decrementRefCount();
  |    
  |    int incrementRefCount();
  |    
  |    int getRefCount();
  | 

With that I can discount the size of a queue when refCount == 0, and start depaging as soon as the size reaches some minimal watermark.

The paging logic is already working on the branch. I still have some work to do such as configuring paging size individually and some other small things, but I'm almost there.

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

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



More information about the jboss-dev-forums mailing list