User: chirino 
  Date: 01/10/27 18:27:00

  Modified:    src/main/org/jboss/mq/pm PersistenceManager.java
  Log:
  Commiting my initial implementation of a message cache for the JBossMQ messages.  
This should allow the server to scale so it can hold a larger number of message.
  
  Revision  Changes    Path
  1.3       +4 -3      jbossmq/src/main/org/jboss/mq/pm/PersistenceManager.java
  
  Index: PersistenceManager.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/pm/PersistenceManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PersistenceManager.java   2001/08/17 03:04:04     1.2
  +++ PersistenceManager.java   2001/10/28 01:27:00     1.3
  @@ -16,6 +16,7 @@
   import org.jboss.mq.SpyDestination;
   import org.jboss.mq.SpyMessage;
   import org.jboss.mq.xml.XElement;
  +import org.jboss.mq.server.MessageReference;
   
   /**
    *  This class allows provides the base for user supplied persistence packages.
  @@ -23,7 +24,7 @@
    * @author     Hiram Chirino ([EMAIL PROTECTED])
    * @author     Paul Kendall ([EMAIL PROTECTED])
    * @created    August 16, 2001
  - * @version    $Revision: 1.2 $
  + * @version    $Revision: 1.3 $
    */
   public interface PersistenceManager {
   
  @@ -67,7 +68,7 @@
       * @param  txId                        Description of Parameter
       * @exception  javax.jms.JMSException  Description of Exception
       */
  -   public abstract void add( SpyMessage message, Tx txId )
  +   public abstract void add( MessageReference message, Tx txId )
         throws javax.jms.JMSException;
   
      /**
  @@ -96,7 +97,7 @@
       * @param  txId                        Description of Parameter
       * @exception  javax.jms.JMSException  Description of Exception
       */
  -   public abstract void remove( SpyMessage message, Tx txId )
  +   public abstract void remove( MessageReference message, Tx txId )
         throws javax.jms.JMSException;
   
      /**
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to