站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 messaging API Documentation 英文版文档

SpyMessageLog (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq.pm.rollinglogged
Class SpyMessageLog

java.lang.Object
  extended byorg.jboss.mq.pm.rollinglogged.SpyMessageLog

public class SpyMessageLog
extends Object

This is used to keep a log of SpyMessages arriving and leaving a queue. The log can be used reconstruct the queue in case of provider failure. Integrety is kept by the use of an ObjectIntegrityLog.

Version:
$Revision: 1.7.2.2 $
Author:
David Jencks

Method Summary
 void add(SpyMessage message, Tx transactionId)
           
 void close()
           
 void delete()
           
 void remove(SpyMessage message, Tx transactionId)
           
 void restore(TreeSet committed, org.jboss.mq.pm.rollinglogged.PersistenceManager.LogInfo info, HashMap messages)
           
 void update(SpyMessage message, Tx transactionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
           throws javax.jms.JMSException
Throws:
javax.jms.JMSException

delete

public void delete()
            throws javax.jms.JMSException
Throws:
javax.jms.JMSException

restore

public void restore(TreeSet committed,
                    org.jboss.mq.pm.rollinglogged.PersistenceManager.LogInfo info,
                    HashMap messages)
             throws javax.jms.JMSException
Throws:
javax.jms.JMSException

add

public void add(SpyMessage message,
                Tx transactionId)
         throws javax.jms.JMSException
Throws:
javax.jms.JMSException

remove

public void remove(SpyMessage message,
                   Tx transactionId)
            throws javax.jms.JMSException
Throws:
javax.jms.JMSException

update

public void update(SpyMessage message,
                   Tx transactionId)
            throws javax.jms.JMSException
Throws:
javax.jms.JMSException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.