com.caucho.jms.file
Class FileQueueEntry<E>

java.lang.Object
  extended by com.caucho.jms.queue.QueueEntry<E>
      extended by com.caucho.jms.file.FileQueueEntry<E>

public class FileQueueEntry<E>
extends QueueEntry<E>

Entry in a file queue


Constructor Summary
FileQueueEntry(long id, java.lang.String msgId, long leaseTimeout, int priority, long expiresTime, E payload)
           
 
Method Summary
 long getId()
           
 E getPayloadRef()
           
 void setPayloadRef(E payload)
           
 
Methods inherited from class com.caucho.jms.queue.QueueEntry
getExpiresTime, getLeaseExpires, getMsgId, getPayload, getPriority, getReadSequence, isExpired, isLease, isRead, readPayload, rollback, setPayload, setReadSequence, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileQueueEntry

public FileQueueEntry(long id,
                      java.lang.String msgId,
                      long leaseTimeout,
                      int priority,
                      long expiresTime,
                      E payload)
Method Detail

getId

public long getId()

getPayloadRef

public E getPayloadRef()

setPayloadRef

public void setPayloadRef(E payload)