com.ibm.ia.runtime.management

Class InvocationStats

  • java.lang.Object
    • com.ibm.ia.runtime.management.InvocationStats


  • public final class InvocationStats
    extends java.lang.Object
    Captures statistics for a specific agent or event type. For getEventStats the type will be the event class name and for getAgentStats the type will be the agent class name.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj)
      A typical equals implementation.
      int getCount()
      The number of times this agent or event type has processed an event.
      int getErrorCount()
      The number of times this event type was not processed due to an error.
      long getErrorTime()
      The total amount of time taken for processing this event type resulting in an error.
      int getErrorTriggerCount()
      The number of times the scheduled processing event was not processed due to an error.
      long getErrorTriggerTime()
      The total amount of time taken for processing the scheduled processing event resulting in an error.
      int getRetryCount()
      The number of failed attempts to retry processing this event type.
      long getRetryTime()
      The amount of time taken for failed attempts to retry processing this event type.
      int getRetryTriggerCount()
      The number of failed attempts to retry processing the scheduled processing event.
      long getRetryTriggerTime()
      The amount of time taken for failed attempts to retry processing the scheduled processing event.
      long getTime()
      The amount of time this agent or event type has spent processing events.
      int getTriggerCount()
      The number of trigger events.
      long getTriggerTime()
      The amount of time this agent or event type has spent processing triggers.
      java.lang.String getType()
      The fully qualified class name of the agent or event related to the stats.
      int hashCode()
      A typical hash implementation.
      java.lang.String toString()
      Returns a string version of this instance.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getType

        public java.lang.String getType()
        The fully qualified class name of the agent or event related to the stats.
        Returns:
        The class name of the agent or event .
      • getCount

        public int getCount()
        The number of times this agent or event type has processed an event.
        Returns:
        A count of event processing.
      • getTime

        public long getTime()
        The amount of time this agent or event type has spent processing events.
        Returns:
        A time in nanoseconds.
      • getErrorCount

        public int getErrorCount()
        The number of times this event type was not processed due to an error.
        Returns:
        A count of errors in event processing, excluding retries
      • getErrorTime

        public long getErrorTime()
        The total amount of time taken for processing this event type resulting in an error.
        Returns:
        The time in nanoseconds for error processing
      • getRetryCount

        public int getRetryCount()
        The number of failed attempts to retry processing this event type.
        Returns:
        A count of retries in event processing
      • getRetryTime

        public long getRetryTime()
        The amount of time taken for failed attempts to retry processing this event type.
        Returns:
        The time in nanoseconds for retries processing
      • getTriggerCount

        public int getTriggerCount()
        The number of trigger events.
        Returns:
        A count of processed trigger events
      • getTriggerTime

        public long getTriggerTime()
        The amount of time this agent or event type has spent processing triggers.
        Returns:
        A time in nanoseconds.
      • getErrorTriggerCount

        public int getErrorTriggerCount()
        The number of times the scheduled processing event was not processed due to an error.
        Returns:
        A count of errors in event processing, excluding retries
      • getErrorTriggerTime

        public long getErrorTriggerTime()
        The total amount of time taken for processing the scheduled processing event resulting in an error.
        Returns:
        The time in nanoseconds for error processing
      • getRetryTriggerCount

        public int getRetryTriggerCount()
        The number of failed attempts to retry processing the scheduled processing event.
        Returns:
        A count of retries in event processing
      • getRetryTriggerTime

        public long getRetryTriggerTime()
        The amount of time taken for failed attempts to retry processing the scheduled processing event.
        Returns:
        The time in nanoseconds for retries processing
      • hashCode

        public int hashCode()
        A typical hash implementation.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        The hashcode.
        See Also:
        Object.hashCode()
      • equals

        public boolean equals(java.lang.Object obj)
        A typical equals implementation.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The object to compare to this.
        Returns:
        Whether this object is equivalent to obj.
        See Also:
        Object.equals(java.lang.Object)
      • toString

        public java.lang.String toString()
        Returns a string version of this instance.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representing this instance.
        See Also:
        Object.toString()

© Copyright IBM 2017