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

      Fields 
      Modifier and Type Field and Description
      int completionCode
      The completion code of the first asynchronous failure or warning encountered, since the last time asynchronous status was requested from the connection.
      java.lang.String objectName
      The object name specified when opening the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.
      java.lang.String objectQueueManagerName
      The object queue manager name specified when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
      int objectType
      The type of the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.
      int putFailureCount
      The number of successful asynchronous put operations that failed since the last time asynchronous status was requested from the connection.
      int putSuccessCount
      The number of successful asynchronous put operations that completed successfully since the last time asynchronous status was requested from the connection.
      int putWarningCount
      The number of successful asynchronous put operations that completed with warnings since the last time asynchronous status was requested from the connection.
      int reasonCode
      The 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.
      java.lang.String resolvedObjectName
      The object name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
      java.lang.String resolvedQueueManagerName
      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

      Methods 
      Modifier and Type Method and Description
      void updateAsyncStatus()
      Updates this asynchronous error status object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • putSuccessCount

        public int putSuccessCount
        The number of successful asynchronous put operations that completed successfully since the last time asynchronous status was requested from the connection.
      • putWarningCount

        public int putWarningCount
        The number of successful asynchronous put operations that completed with warnings since the last time asynchronous status was requested from the connection.
      • putFailureCount

        public int putFailureCount
        The number of successful asynchronous put operations that failed since the last time asynchronous status was requested from the connection.
      • completionCode

        public int completionCode
        The completion code of the first asynchronous failure or warning encountered, since the last time asynchronous status was requested from the connection.
      • reasonCode

        public int reasonCode
        The 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 objectType
        The type of the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.
      • objectName

        public java.lang.String objectName
        The object name specified when opening the object against which the asynchronous failure or warning described by completionCode and reasonCode occurred.
      • objectQueueManagerName

        public java.lang.String objectQueueManagerName
        The object queue manager name specified when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
      • resolvedObjectName

        public java.lang.String resolvedObjectName
        The object name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
      • resolvedQueueManagerName

        public java.lang.String resolvedQueueManagerName
        The queue manager name resolved when opening the object against which the asynchronous failure/warning described by completionCode and reasonCode occurred.
    • Method Detail

      • updateAsyncStatus

        public void updateAsyncStatus()
                               throws MQException
        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:
        MQQueueManager.getAsyncStatus()
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.