com.caucho.jms.cluster
Class ReceiveQuery

java.lang.Object
  extended by com.caucho.jms.cluster.ReceiveQuery
All Implemented Interfaces:
java.io.Serializable

public class ReceiveQuery
extends java.lang.Object
implements java.io.Serializable

Implements a cluster receive queue.

See Also:
Serialized Form

Constructor Summary
ReceiveQuery()
           
ReceiveQuery(java.lang.String msgId, long leaseExpires, int priority, long expiresTime, java.io.Serializable payload)
           
 
Method Summary
 long getExpiresTime()
           
 long getLeaseExpires()
           
 java.lang.String getMsgId()
           
 java.io.Serializable getPayload()
           
 int getPriority()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReceiveQuery

public ReceiveQuery()

ReceiveQuery

public ReceiveQuery(java.lang.String msgId,
                    long leaseExpires,
                    int priority,
                    long expiresTime,
                    java.io.Serializable payload)
Method Detail

getPayload

public java.io.Serializable getPayload()

getPriority

public int getPriority()

getLeaseExpires

public long getLeaseExpires()

getMsgId

public java.lang.String getMsgId()

getExpiresTime

public long getExpiresTime()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object