public static class AMQP.Basic.Qos extends AbstractMarshallingMethod
Modifier and Type | Field and Description |
---|---|
boolean |
global
By default the QoS settings apply to the current channel only.
|
static int |
INDEX |
int |
prefetchCount
Specifies a prefetch window in terms of whole messages.
|
int |
prefetchSize
The client can request that messages be sent in advance so that when
the client finishes processing a message, the following message is
already held locally, rather than needing to be sent down the channel.
|
private static long |
serialVersionUID |
channelNumber, logger
Constructor and Description |
---|
AMQP.Basic.Qos() |
AMQP.Basic.Qos(int prefetchSize,
int prefetchCount,
boolean global)
This method requests a specific quality of service.
|
Modifier and Type | Method and Description |
---|---|
int |
getClassId() |
String |
getClassName() |
int |
getMethodId() |
String |
getMethodName() |
void |
readFrom(AMQPInputStream in) |
String |
toString() |
void |
writeTo(AMQPOutputStream out) |
read, toFrame
private static final long serialVersionUID
public int prefetchSize
public int prefetchCount
public boolean global
public static final int INDEX
public AMQP.Basic.Qos(int prefetchSize, int prefetchCount, boolean global)
public AMQP.Basic.Qos()
public int getMethodId()
getMethodId
in class AbstractMarshallingMethod
public String getMethodName()
getMethodName
in class AbstractMarshallingMethod
public int getClassId()
getClassId
in class AbstractMarshallingMethod
public String getClassName()
getClassName
in class AbstractMarshallingMethod
public void readFrom(AMQPInputStream in) throws IOException
readFrom
in class AbstractMarshallingMethod
IOException
public void writeTo(AMQPOutputStream out) throws IOException
writeTo
in class AbstractMarshallingMethod
IOException
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.