org.apache.activemq.apollo.broker.store
Class QueueEntryPB.Buffer
java.lang.Object
org.apache.activemq.apollo.broker.store.QueueEntryPB.Buffer
- All Implemented Interfaces:
- QueueEntryPB.Getter, org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>, org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>
- Enclosing class:
- QueueEntryPB
public static final class QueueEntryPB.Buffer
- extends java.lang.Object
- implements org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>, QueueEntryPB.Getter
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
copy
public QueueEntryPB.Bean copy()
- Specified by:
copy in interface QueueEntryPB.Getter- Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>
freeze
public QueueEntryPB.Buffer freeze()
- Specified by:
freeze in interface QueueEntryPB.Getter- Specified by:
freeze in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toString
public java.lang.StringBuilder toString(java.lang.StringBuilder sb,
java.lang.String prefix)
- Specified by:
toString in interface QueueEntryPB.Getter
hasQueueKey
public boolean hasQueueKey()
- Specified by:
hasQueueKey in interface QueueEntryPB.Getter
getQueueKey
public long getQueueKey()
- Specified by:
getQueueKey in interface QueueEntryPB.Getter
hasQueueSeq
public boolean hasQueueSeq()
- Specified by:
hasQueueSeq in interface QueueEntryPB.Getter
getQueueSeq
public long getQueueSeq()
- Specified by:
getQueueSeq in interface QueueEntryPB.Getter
hasMessageKey
public boolean hasMessageKey()
- Specified by:
hasMessageKey in interface QueueEntryPB.Getter
getMessageKey
public long getMessageKey()
- Specified by:
getMessageKey in interface QueueEntryPB.Getter
hasSize
public boolean hasSize()
- Specified by:
hasSize in interface QueueEntryPB.Getter
getSize
public int getSize()
- Specified by:
getSize in interface QueueEntryPB.Getter
hasAttachment
public boolean hasAttachment()
- Specified by:
hasAttachment in interface QueueEntryPB.Getter
getAttachment
public org.fusesource.hawtbuf.Buffer getAttachment()
- Specified by:
getAttachment in interface QueueEntryPB.Getter
hasRedeliveries
public boolean hasRedeliveries()
- Specified by:
hasRedeliveries in interface QueueEntryPB.Getter
getRedeliveries
public int getRedeliveries()
- Specified by:
getRedeliveries in interface QueueEntryPB.Getter
toUnframedBuffer
public org.fusesource.hawtbuf.Buffer toUnframedBuffer()
- Specified by:
toUnframedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
toFramedBuffer
public org.fusesource.hawtbuf.Buffer toFramedBuffer()
- Specified by:
toFramedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
toUnframedByteArray
public byte[] toUnframedByteArray()
- Specified by:
toUnframedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
toFramedByteArray
public byte[] toFramedByteArray()
- Specified by:
toFramedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
writeFramed
public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws java.io.IOException
- Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
- Throws:
java.io.IOException
writeFramed
public void writeFramed(java.io.OutputStream output)
throws java.io.IOException
- Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
- Throws:
java.io.IOException
writeUnframed
public void writeUnframed(java.io.OutputStream output)
throws java.io.IOException
- Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
- Throws:
java.io.IOException
writeUnframed
public void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
throws java.io.IOException
- Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
- Throws:
java.io.IOException
serializedSizeFramed
public int serializedSizeFramed()
- Specified by:
serializedSizeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
serializedSizeUnframed
public int serializedSizeUnframed()
- Specified by:
serializedSizeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<QueueEntryPB.Bean,QueueEntryPB.Buffer>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
equals
public boolean equals(QueueEntryPB.Buffer obj)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
frozen
public boolean frozen()
- Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.