CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.ctg.client.stats
Class StatData

java.lang.Object
  extended by com.ibm.ctg.client.stats.ResponseData
      extended by com.ibm.ctg.client.stats.StatData

public class StatData
extends ResponseData

This class is a representation of a single statistic ID and value pair.


Field Summary
 
Fields inherited from class com.ibm.ctg.client.stats.ResponseData
DUPLICATE_STATGROUPID, DUPLICATE_STATID, INCOMPLETE_RESULTSET, NULL_ID, PROTOCOL_VERSION, SUCCESSFUL_QUERY, UNKNOWN_STATGROUPID, UNKNOWN_STATID, UPDATE_EXCEPTION
 
Method Summary
 java.lang.String getQueryElement()
          Get the query used to obtain this statistic.
 int getRc()
          Get the return code for obtaining this statistic.
 java.lang.String getShortDesc()
          Get the short description of the statistic represented by this object.
 java.lang.String getStatId()
          Get the statistic ID that this object represents.
 java.lang.String getValue()
          Get the value of the statistic this object represents.
 
Methods inherited from class com.ibm.ctg.client.stats.ResponseData
getReturnString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRc

public int getRc()
Get the return code for obtaining this statistic.

Returns:
rc

getShortDesc

public java.lang.String getShortDesc()
Get the short description of the statistic represented by this object.

Returns:
String containing the short description for this object

getValue

public java.lang.String getValue()
Get the value of the statistic this object represents.

Returns:
value The value of this statId

getStatId

public java.lang.String getStatId()
Get the statistic ID that this object represents.

Returns:
String ID of this statistic

getQueryElement

public java.lang.String getQueryElement()
Get the query used to obtain this statistic. For example, if this StatData object represents the statistic "CM_CALLOC" returned as part of a StatResultSet by the method call getStats("GD:CM"), then this function will return "CM".

Returns:
String containing the element of the query string matching this statistic

©Copyright IBM Corp. 1994, 2014
Legal