|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides queue rule methods with a mechanism to query properties of a queue.
MQeQueueRule
Method Summary | |
long |
getCreationDate()
This method returns a long value representing the date and time at which the queue was created. |
byte |
getDefaultPriority()
This method returns an integer value that is the queue’s default priority. |
java.lang.String |
getDescription()
This method returns a String object containing the description string for the queue. |
long |
getExpiryInterval()
This method returns a long value that is the message expiry interval (in milliseconds) for the queue. |
int |
getMaxMessageSize()
This method returns an integer value that is the maximum size of message (in bytes) which the queue can hold. |
int |
getMaxQueueSize()
This method returns an integer value that is the maximum number of messages that can be held on this queue. |
int |
getNumberOfMessages()
This method returns an integer value that is the current number of messages held on this queue. |
MQeAttribute |
getQueueAttribute()
This method returns a MQeAttribute object, which defines the authenticator, cryptor, and compressor used by this queue. |
java.lang.String |
getQueueManagerName()
Replies the queues queueManagerName. |
java.lang.String |
getQueueName()
Replies the queues name. |
java.lang.String |
getQueueStore()
This method returns a String object containing the pathname of the queue’s persistent store. |
boolean |
isRemoteQueue()
This method returns a boolean value indicating whether or not this queue is a remote queue. |
boolean |
isSynchronous()
This method returns boolean value indicating whether or not this queue is synchronous. |
Method Detail |
public java.lang.String getQueueManagerName() throws MQeException
Replies the queues queueManagerName.
MQeException
public java.lang.String getQueueName() throws MQeException
Replies the queues name.
MQeException
public long getCreationDate() throws MQeException
This method returns a long value representing the date and time at which the queue was created.
MQeException
public byte getDefaultPriority() throws MQeException
This method returns an integer value that is the queue’s default priority.
This is the priority value which will be used for any message placed on the queue that has not previously been assigned a priority value.
MQeException
public java.lang.String getDescription() throws MQeException
This method returns a String object containing the description string for the queue.
MQeException
public long getExpiryInterval() throws MQeException
This method returns a long value that is the message expiry interval (in milliseconds) for the queue.
Any message that has been on the queue for a length of time greater than the expiry interval will be marked as expired. The queue’s rules then determine what happens to the message.
MQeException
public int getMaxMessageSize() throws MQeException
This method returns an integer value that is the maximum size of message (in bytes) which the queue can hold.
MQeException
public int getMaxQueueSize() throws MQeException
This method returns an integer value that is the maximum number of messages that can be held on this queue.
MQeException
public int getNumberOfMessages() throws java.lang.Exception
This method returns an integer value that is the current number of messages held on this queue.
MQeException
java.lang.Exception
public MQeAttribute getQueueAttribute() throws MQeException
This method returns a MQeAttribute object, which defines the authenticator, cryptor, and compressor used by this queue. These attributes are used upon any messages stored on the queue.
MQeAttribute
object that defines the
authenticator, cryptor, and compressor used by the queue.
MQeException
public java.lang.String getQueueStore() throws MQeException
This method returns a String object containing the pathname of the queue’s persistent store.
MQeException
public boolean isRemoteQueue()
This method returns a boolean value indicating whether or not this queue is a remote queue.
public boolean isSynchronous()
This method returns boolean value indicating whether or not this queue is synchronous.
|
Websphere MQ Everyplace | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |