org.apache.activemq.apollo.broker.store
Class QueueEntryPB.Bean

java.lang.Object
  extended by org.apache.activemq.apollo.broker.store.QueueEntryPB.Bean
All Implemented Interfaces:
QueueEntryPB.Getter, org.fusesource.hawtbuf.proto.PBMessage<QueueEntryPB.Bean,QueueEntryPB.Buffer>
Enclosing class:
QueueEntryPB

public static final class QueueEntryPB.Bean
extends java.lang.Object
implements QueueEntryPB.Getter


Constructor Summary
QueueEntryPB.Bean()
           
QueueEntryPB.Bean(QueueEntryPB.Bean copy)
           
 
Method Summary
 void clear()
           
 void clearAttachment()
           
 void clearMessageKey()
           
 void clearQueueKey()
           
 void clearQueueSeq()
           
 void clearRedeliveries()
           
 void clearSize()
           
 QueueEntryPB.Bean copy()
           
 boolean equals(java.lang.Object obj)
           
 boolean equals(QueueEntryPB.Bean obj)
           
 QueueEntryPB.Buffer freeze()
           
 boolean frozen()
           
 org.fusesource.hawtbuf.Buffer getAttachment()
           
 long getMessageKey()
           
 long getQueueKey()
           
 long getQueueSeq()
           
 int getRedeliveries()
           
 int getSize()
           
 boolean hasAttachment()
           
 int hashCode()
           
 boolean hasMessageKey()
           
 boolean hasQueueKey()
           
 boolean hasQueueSeq()
           
 boolean hasRedeliveries()
           
 boolean hasSize()
           
 QueueEntryPB.Bean mergeFrom(QueueEntryPB.Getter other)
           
 QueueEntryPB.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
           
 QueueEntryPB.Bean mergeUnframed(java.io.InputStream input)
           
 void readExternal(java.io.DataInput in)
           
 QueueEntryPB.Bean setAttachment(org.fusesource.hawtbuf.Buffer attachment)
           
 QueueEntryPB.Bean setMessageKey(long messageKey)
           
 QueueEntryPB.Bean setQueueKey(long queueKey)
           
 QueueEntryPB.Bean setQueueSeq(long queueSeq)
           
 QueueEntryPB.Bean setRedeliveries(int redeliveries)
           
 QueueEntryPB.Bean setSize(int size)
           
 java.lang.String toString()
           
 java.lang.StringBuilder toString(java.lang.StringBuilder sb, java.lang.String prefix)
           
 void writeExternal(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueueEntryPB.Bean

public QueueEntryPB.Bean()

QueueEntryPB.Bean

public QueueEntryPB.Bean(QueueEntryPB.Bean copy)
Method Detail

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>

frozen

public boolean frozen()
Specified by:
frozen 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>

hasQueueKey

public boolean hasQueueKey()
Specified by:
hasQueueKey in interface QueueEntryPB.Getter

getQueueKey

public long getQueueKey()
Specified by:
getQueueKey in interface QueueEntryPB.Getter

setQueueKey

public QueueEntryPB.Bean setQueueKey(long queueKey)

clearQueueKey

public void clearQueueKey()

hasQueueSeq

public boolean hasQueueSeq()
Specified by:
hasQueueSeq in interface QueueEntryPB.Getter

getQueueSeq

public long getQueueSeq()
Specified by:
getQueueSeq in interface QueueEntryPB.Getter

setQueueSeq

public QueueEntryPB.Bean setQueueSeq(long queueSeq)

clearQueueSeq

public void clearQueueSeq()

hasMessageKey

public boolean hasMessageKey()
Specified by:
hasMessageKey in interface QueueEntryPB.Getter

getMessageKey

public long getMessageKey()
Specified by:
getMessageKey in interface QueueEntryPB.Getter

setMessageKey

public QueueEntryPB.Bean setMessageKey(long messageKey)

clearMessageKey

public void clearMessageKey()

hasSize

public boolean hasSize()
Specified by:
hasSize in interface QueueEntryPB.Getter

getSize

public int getSize()
Specified by:
getSize in interface QueueEntryPB.Getter

setSize

public QueueEntryPB.Bean setSize(int size)

clearSize

public void clearSize()

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

setAttachment

public QueueEntryPB.Bean setAttachment(org.fusesource.hawtbuf.Buffer attachment)

clearAttachment

public void clearAttachment()

hasRedeliveries

public boolean hasRedeliveries()
Specified by:
hasRedeliveries in interface QueueEntryPB.Getter

getRedeliveries

public int getRedeliveries()
Specified by:
getRedeliveries in interface QueueEntryPB.Getter

setRedeliveries

public QueueEntryPB.Bean setRedeliveries(int redeliveries)

clearRedeliveries

public void clearRedeliveries()

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

mergeUnframed

public QueueEntryPB.Bean mergeUnframed(java.io.InputStream input)
                                throws java.io.IOException
Throws:
java.io.IOException

mergeUnframed

public QueueEntryPB.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
                                throws java.io.IOException
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(QueueEntryPB.Bean obj)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

mergeFrom

public QueueEntryPB.Bean mergeFrom(QueueEntryPB.Getter other)

clear

public void clear()

readExternal

public void readExternal(java.io.DataInput in)
                  throws java.io.IOException
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.DataOutput out)
                   throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.