org.apache.qpid.transport
Class QueueQueryResult

java.lang.Object
  extended by org.apache.qpid.transport.Struct
      extended by org.apache.qpid.transport.QueueQueryResult
All Implemented Interfaces:
Encodable

public final class QueueQueryResult
extends Struct


Field Summary
static int TYPE
           
 
Fields inherited from class org.apache.qpid.transport.Struct
dirty
 
Constructor Summary
QueueQueryResult()
           
QueueQueryResult(String queue, String alternateExchange, Map<String,Object> arguments, long messageCount, long subscriberCount, Option... _options)
           
 
Method Summary
 QueueQueryResult alternateExchange(String value)
           
 QueueQueryResult arguments(Map<String,Object> value)
           
 QueueQueryResult autoDelete(boolean value)
           
 QueueQueryResult clearAlternateExchange()
           
 QueueQueryResult clearArguments()
           
 QueueQueryResult clearAutoDelete()
           
 QueueQueryResult clearDurable()
           
 QueueQueryResult clearExclusive()
           
 QueueQueryResult clearMessageCount()
           
 QueueQueryResult clearQueue()
           
 QueueQueryResult clearSubscriberCount()
           
 QueueQueryResult durable(boolean value)
           
 QueueQueryResult exclusive(boolean value)
           
 String getAlternateExchange()
           
 Map<String,Object> getArguments()
           
 boolean getAutoDelete()
           
 boolean getDurable()
           
 byte getEncodedTrack()
           
 boolean getExclusive()
           
 Map<String,Object> getFields()
           
 long getMessageCount()
           
 int getPackWidth()
           
 String getQueue()
           
 int getSizeWidth()
           
 int getStructType()
           
 long getSubscriberCount()
           
 boolean hasAlternateExchange()
           
 boolean hasArguments()
           
 boolean hasAutoDelete()
           
 boolean hasDurable()
           
 boolean hasExclusive()
           
 boolean hasMessageCount()
           
 boolean hasPayload()
           
 boolean hasQueue()
           
 boolean hasSubscriberCount()
           
 QueueQueryResult messageCount(long value)
           
 QueueQueryResult queue(String value)
           
 void read(Decoder dec)
          Decodes this encodable using the given decoder.
 QueueQueryResult setAlternateExchange(String value)
           
 QueueQueryResult setArguments(Map<String,Object> value)
           
 QueueQueryResult setAutoDelete(boolean value)
           
 QueueQueryResult setDurable(boolean value)
           
 QueueQueryResult setExclusive(boolean value)
           
 QueueQueryResult setMessageCount(long value)
           
 QueueQueryResult setQueue(String value)
           
 QueueQueryResult setSubscriberCount(long value)
           
 QueueQueryResult subscriberCount(long value)
           
 void write(Encoder enc)
          Encodes this encodable using the given encoder.
 
Methods inherited from class org.apache.qpid.transport.Struct
create, getEncodedType, isDirty, setDirty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final int TYPE
See Also:
Constant Field Values
Constructor Detail

QueueQueryResult

public QueueQueryResult()

QueueQueryResult

public QueueQueryResult(String queue,
                        String alternateExchange,
                        Map<String,Object> arguments,
                        long messageCount,
                        long subscriberCount,
                        Option... _options)
Method Detail

getStructType

public final int getStructType()
Specified by:
getStructType in class Struct

getSizeWidth

public final int getSizeWidth()
Specified by:
getSizeWidth in class Struct

getPackWidth

public final int getPackWidth()
Specified by:
getPackWidth in class Struct

hasPayload

public final boolean hasPayload()

getEncodedTrack

public final byte getEncodedTrack()

hasQueue

public final boolean hasQueue()

clearQueue

public final QueueQueryResult clearQueue()

getQueue

public final String getQueue()

setQueue

public final QueueQueryResult setQueue(String value)

queue

public final QueueQueryResult queue(String value)

hasAlternateExchange

public final boolean hasAlternateExchange()

clearAlternateExchange

public final QueueQueryResult clearAlternateExchange()

getAlternateExchange

public final String getAlternateExchange()

setAlternateExchange

public final QueueQueryResult setAlternateExchange(String value)

alternateExchange

public final QueueQueryResult alternateExchange(String value)

hasDurable

public final boolean hasDurable()

clearDurable

public final QueueQueryResult clearDurable()

getDurable

public final boolean getDurable()

setDurable

public final QueueQueryResult setDurable(boolean value)

durable

public final QueueQueryResult durable(boolean value)

hasExclusive

public final boolean hasExclusive()

clearExclusive

public final QueueQueryResult clearExclusive()

getExclusive

public final boolean getExclusive()

setExclusive

public final QueueQueryResult setExclusive(boolean value)

exclusive

public final QueueQueryResult exclusive(boolean value)

hasAutoDelete

public final boolean hasAutoDelete()

clearAutoDelete

public final QueueQueryResult clearAutoDelete()

getAutoDelete

public final boolean getAutoDelete()

setAutoDelete

public final QueueQueryResult setAutoDelete(boolean value)

autoDelete

public final QueueQueryResult autoDelete(boolean value)

hasArguments

public final boolean hasArguments()

clearArguments

public final QueueQueryResult clearArguments()

getArguments

public final Map<String,Object> getArguments()

setArguments

public final QueueQueryResult setArguments(Map<String,Object> value)

arguments

public final QueueQueryResult arguments(Map<String,Object> value)

hasMessageCount

public final boolean hasMessageCount()

clearMessageCount

public final QueueQueryResult clearMessageCount()

getMessageCount

public final long getMessageCount()

setMessageCount

public final QueueQueryResult setMessageCount(long value)

messageCount

public final QueueQueryResult messageCount(long value)

hasSubscriberCount

public final boolean hasSubscriberCount()

clearSubscriberCount

public final QueueQueryResult clearSubscriberCount()

getSubscriberCount

public final long getSubscriberCount()

setSubscriberCount

public final QueueQueryResult setSubscriberCount(long value)

subscriberCount

public final QueueQueryResult subscriberCount(long value)

write

public void write(Encoder enc)
Description copied from interface: Encodable
Encodes this encodable using the given encoder.

Specified by:
write in interface Encodable
Specified by:
write in class Struct
Parameters:
enc - the encoder.

read

public void read(Decoder dec)
Description copied from interface: Encodable
Decodes this encodable using the given decoder.

Specified by:
read in interface Encodable
Specified by:
read in class Struct
Parameters:
dec - the decoder.

getFields

public Map<String,Object> getFields()
Specified by:
getFields in class Struct


Licensed to the Apache Software Foundation