Package com.ibm.mq
Class MQAsyncStatus
java.lang.Object
com.ibm.mq.jmqi.JmqiObject
com.ibm.mq.MQAsyncStatus
public class MQAsyncStatus
extends com.ibm.mq.jmqi.JmqiObject
Represents asynchronous error status from the queue manager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe completion code of the first asynchronous failure or warning encountered, since the last time asynchronous status was requested from the connection.The object name specified when opening the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.The object queue manager name specified when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.intThe type of the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.intThe number of successful asynchronous put operations that failed since the last time asynchronous status was requested from the connection.intThe number of successful asynchronous put operations that completed successfully since the last time asynchronous status was requested from the connection.intThe number of successful asynchronous put operations that completed with warnings since the last time asynchronous status was requested from the connection.intThe reason code, qualifying the completion code, of the first asynchronous failure or warning encountered since the last time asynchronous status was requested from the connection.The object name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.The queue manager name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.Fields inherited from class com.ibm.mq.jmqi.JmqiObject
COMP_JM, COMP_JN, COMP_JO -
Method Summary
Modifier and TypeMethodDescriptionvoidUpdates this asynchronous error status object.Methods inherited from class com.ibm.mq.jmqi.JmqiObject
getJmqiEnvironment
-
Field Details
-
putSuccessCount
public int putSuccessCountThe number of successful asynchronous put operations that completed successfully since the last time asynchronous status was requested from the connection. -
putWarningCount
public int putWarningCountThe number of successful asynchronous put operations that completed with warnings since the last time asynchronous status was requested from the connection. -
putFailureCount
public int putFailureCountThe number of successful asynchronous put operations that failed since the last time asynchronous status was requested from the connection. -
completionCode
public int completionCodeThe completion code of the first asynchronous failure or warning encountered, since the last time asynchronous status was requested from the connection. -
reasonCode
public int reasonCodeThe reason code, qualifying the completion code, of the first asynchronous failure or warning encountered since the last time asynchronous status was requested from the connection. -
objectType
public int objectTypeThe type of the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred. -
objectName
The object name specified when opening the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred. -
objectQueueManagerName
The object queue manager name specified when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred. -
resolvedObjectName
The object name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred. -
resolvedQueueManagerName
The queue manager name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
-
-
Method Details
-
updateAsyncStatus
Updates this asynchronous error status object. The status is updated using the same connection against which getAsyncStatus was originally called to create the object.- Throws:
MQException- if there is a problem requesting asynchronous error status from the queue manager.- See Also:
-