public final class Db2ResourceStatistics extends StatisticsDataSection
  • Field Details

    • D2RIDE

      public static final int D2RIDE
      Constant: 0x67 = 103
      See Also:
    • D2RVERS

      public static final int D2RVERS
      Constant: 0x01 = 1
      See Also:
    • D2R_LENGTH

      public static final int D2R_LENGTH
      Constant: 0xCC = 204
      See Also:
    • D2R_AUTHTYPE_NA

      public static final int D2R_AUTHTYPE_NA
      Constant: 0x00 = 0
      See Also:
    • D2R_AUTHTYPE_USERID

      public static final int D2R_AUTHTYPE_USERID
      Constant: 0x01 = 1
      See Also:
    • D2R_AUTHTYPE_OPID

      public static final int D2R_AUTHTYPE_OPID
      Constant: 0x02 = 2
      See Also:
    • D2R_AUTHTYPE_GROUP

      public static final int D2R_AUTHTYPE_GROUP
      Constant: 0x03 = 3
      See Also:
    • D2R_AUTHTYPE_SIGNID

      public static final int D2R_AUTHTYPE_SIGNID
      Constant: 0x04 = 4
      See Also:
    • D2R_AUTHTYPE_TERM

      public static final int D2R_AUTHTYPE_TERM
      Constant: 0x05 = 5
      See Also:
    • D2R_AUTHTYPE_TXID

      public static final int D2R_AUTHTYPE_TXID
      Constant: 0x06 = 6
      See Also:
    • D2R_ACCOUNTREC_NONE

      public static final int D2R_ACCOUNTREC_NONE
      Constant: 0x01 = 1
      See Also:
    • D2R_ACCOUNTREC_TXID

      public static final int D2R_ACCOUNTREC_TXID
      Constant: 0x02 = 2
      See Also:
    • D2R_ACCOUNTREC_TASK

      public static final int D2R_ACCOUNTREC_TASK
      Constant: 0x03 = 3
      See Also:
    • D2R_ACCOUNTREC_UOW

      public static final int D2R_ACCOUNTREC_UOW
      Constant: 0x04 = 4
      See Also:
    • D2R_THREADWAIT_YES

      public static final int D2R_THREADWAIT_YES
      Constant: 0x01 = 1
      See Also:
    • D2R_THREADWAIT_NO

      public static final int D2R_THREADWAIT_NO
      Constant: 0x02 = 2
      See Also:
    • D2R_THREADWAIT_POOL

      public static final int D2R_THREADWAIT_POOL
      Constant: 0x03 = 3
      See Also:
    • D2R_PRIORITY_NA

      public static final int D2R_PRIORITY_NA
      Constant: 0x00 = 0
      See Also:
    • D2R_PRIORITY_HIGH

      public static final int D2R_PRIORITY_HIGH
      Constant: 0x01 = 1
      See Also:
    • D2R_PRIORITY_EQUAL

      public static final int D2R_PRIORITY_EQUAL
      Constant: 0x02 = 2
      See Also:
    • D2R_PRIORITY_LOW

      public static final int D2R_PRIORITY_LOW
      Constant: 0x03 = 3
      See Also:
    • D2R_SHARELOCKS_YES

      public static final int D2R_SHARELOCKS_YES
      Constant: 0x01 = 1
      See Also:
    • D2R_SHARELOCKS_NO

      public static final int D2R_SHARELOCKS_NO
      Constant: 0x02 = 2
      See Also:
    • D2R_CSDAPI_CHANGE

      public static final int D2R_CSDAPI_CHANGE
      Constant: 0x01 = 1
      See Also:
    • D2R_CSDBATCH_CHANGE

      public static final int D2R_CSDBATCH_CHANGE
      Constant: 0x02 = 2
      See Also:
    • D2R_DREPAPI_CHANGE

      public static final int D2R_DREPAPI_CHANGE
      Constant: 0x03 = 3
      See Also:
    • D2R_CREATE_CHANGE

      public static final int D2R_CREATE_CHANGE
      Constant: 0x04 = 4
      See Also:
    • D2R_CSDAPI_INSTALL

      public static final int D2R_CSDAPI_INSTALL
      Constant: 0x01 = 1
      See Also:
    • D2R_CREATE_INSTALL

      public static final int D2R_CREATE_INSTALL
      Constant: 0x04 = 4
      See Also:
    • D2R_GRPLIST_INSTALL

      public static final int D2R_GRPLIST_INSTALL
      Constant: 0x05 = 5
      See Also:
  • Method Details

    • d2rlen

      public int d2rlen()
      D2RLEN value.
      Returns:
      int D2RLEN value
    • d2rid

      public int d2rid()
      D2RID value.
      Returns:
      int D2RID value
    • d2rdvers

      public int d2rdvers()
      D2RDVERS value.
      Returns:
      int D2RDVERS value
    • d2rDb2entryName

      public String d2rDb2entryName()
      D2R_DB2ENTRY_NAME value.
      Returns:
      String D2R_DB2ENTRY_NAME value
    • d2rPlanName

      public String d2rPlanName()
      D2R_PLAN_NAME value.
      Returns:
      String D2R_PLAN_NAME value
    • d2rPlanexitName

      public String d2rPlanexitName()
      D2R_PLANEXIT_NAME value.
      Returns:
      String D2R_PLANEXIT_NAME value
    • d2rAuthid

      public String d2rAuthid()
      D2R_AUTHID value.
      Returns:
      String D2R_AUTHID value
    • d2rAuthtype

      public int d2rAuthtype()
      D2R_AUTHTYPE value.
      Returns:
      int D2R_AUTHTYPE value
    • d2rAccountrec

      public int d2rAccountrec()
      D2R_ACCOUNTREC value.
      Returns:
      int D2R_ACCOUNTREC value
    • d2rThreadwait

      public int d2rThreadwait()
      D2R_THREADWAIT value.
      Returns:
      int D2R_THREADWAIT value
    • d2rPriority

      public int d2rPriority()
      D2R_PRIORITY value.
      Returns:
      int D2R_PRIORITY value
    • d2rCalls

      public long d2rCalls()
      D2R_CALLS value.
      Returns:
      long D2R_CALLS value
    • d2rSignons

      public long d2rSignons()
      D2R_SIGNONS value.
      Returns:
      long D2R_SIGNONS value
    • d2rCommits

      public long d2rCommits()
      D2R_COMMITS value.
      Returns:
      long D2R_COMMITS value
    • d2rAborts

      public long d2rAborts()
      D2R_ABORTS value.
      Returns:
      long D2R_ABORTS value
    • d2rSinglePhase

      public long d2rSinglePhase()
      D2R_SINGLE_PHASE value.
      Returns:
      long D2R_SINGLE_PHASE value
    • d2rThreadReuse

      public long d2rThreadReuse()
      D2R_THREAD_REUSE value.
      Returns:
      long D2R_THREAD_REUSE value
    • d2rThreadTerm

      public long d2rThreadTerm()
      D2R_THREAD_TERM value.
      Returns:
      long D2R_THREAD_TERM value
    • d2rThreadWaitOrOverfl

      public long d2rThreadWaitOrOverfl()
      D2R_THREAD_WAIT_OR_OVERFL value.
      Returns:
      long D2R_THREAD_WAIT_OR_OVERFL value
    • d2rThreadLimit

      public long d2rThreadLimit()
      D2R_THREAD_LIMIT value.
      Returns:
      long D2R_THREAD_LIMIT value
    • d2rThreadCurrent

      public long d2rThreadCurrent()
      D2R_THREAD_CURRENT value.
      Returns:
      long D2R_THREAD_CURRENT value
    • d2rThreadHwm

      public long d2rThreadHwm()
      D2R_THREAD_HWM value.
      Returns:
      long D2R_THREAD_HWM value
    • d2rPthreadLimit

      public long d2rPthreadLimit()
      D2R_PTHREAD_LIMIT value.
      Returns:
      long D2R_PTHREAD_LIMIT value
    • d2rPthreadCurrent

      public long d2rPthreadCurrent()
      D2R_PTHREAD_CURRENT value.
      Returns:
      long D2R_PTHREAD_CURRENT value
    • d2rPthreadHwm

      public long d2rPthreadHwm()
      D2R_PTHREAD_HWM value.
      Returns:
      long D2R_PTHREAD_HWM value
    • d2rTaskCurrent

      public long d2rTaskCurrent()
      D2R_TASK_CURRENT value.
      Returns:
      long D2R_TASK_CURRENT value
    • d2rTaskHwm

      public long d2rTaskHwm()
      D2R_TASK_HWM value.
      Returns:
      long D2R_TASK_HWM value
    • d2rTaskTotal

      public long d2rTaskTotal()
      D2R_TASK_TOTAL value.
      Returns:
      long D2R_TASK_TOTAL value
    • d2rReadyqCurrent

      public long d2rReadyqCurrent()
      D2R_READYQ_CURRENT value.
      Returns:
      long D2R_READYQ_CURRENT value
    • d2rReadyqHwm

      public long d2rReadyqHwm()
      D2R_READYQ_HWM value.
      Returns:
      long D2R_READYQ_HWM value
    • d2rPartialSignons

      public long d2rPartialSignons()
      D2R_PARTIAL_SIGNONS value.
      Returns:
      long D2R_PARTIAL_SIGNONS value
    • d2rThreadCreate

      public long d2rThreadCreate()
      D2R_THREAD_CREATE value.
      Returns:
      long D2R_THREAD_CREATE value
    • d2rReuselimitCount

      public long d2rReuselimitCount()
      D2R_REUSELIMIT_COUNT value.
      Returns:
      long D2R_REUSELIMIT_COUNT value
    • d2rSharelocks

      public int d2rSharelocks()
      D2R_SHARELOCKS value.
      Returns:
      int D2R_SHARELOCKS value
    • d2rDefineSource

      public String d2rDefineSource()
      D2R_DEFINE_SOURCE value.
      Returns:
      String D2R_DEFINE_SOURCE value
    • d2rChangeTime

      public LocalDateTime d2rChangeTime()
      D2R_CHANGE_TIME STCK value converted to LocalDateTime (nanosecond precision).

      Use d2rChangeTimeRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      LocalDateTime D2R_CHANGE_TIME STCK converted to LocalDateTime
      See Also:
    • d2rChangeTimeRawValue

      public BigInteger d2rChangeTimeRawValue()
      D2R_CHANGE_TIME STCK value.
      Returns:
      BigInteger D2R_CHANGE_TIME STCK value
    • d2rChangeUserid

      public String d2rChangeUserid()
      D2R_CHANGE_USERID value.
      Returns:
      String D2R_CHANGE_USERID value
    • d2rChangeAgent

      public int d2rChangeAgent()
      D2R_CHANGE_AGENT value.
      Returns:
      int D2R_CHANGE_AGENT value
    • d2rInstallAgent

      public int d2rInstallAgent()
      D2R_INSTALL_AGENT value.
      Returns:
      int D2R_INSTALL_AGENT value
    • d2rInstallTime

      public LocalDateTime d2rInstallTime()
      D2R_INSTALL_TIME STCK value converted to LocalDateTime (nanosecond precision).

      Use d2rInstallTimeRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      LocalDateTime D2R_INSTALL_TIME STCK converted to LocalDateTime
      See Also:
    • d2rInstallTimeRawValue

      public BigInteger d2rInstallTimeRawValue()
      D2R_INSTALL_TIME STCK value.
      Returns:
      BigInteger D2R_INSTALL_TIME STCK value
    • d2rInstallUserid

      public String d2rInstallUserid()
      D2R_INSTALL_USERID value.
      Returns:
      String D2R_INSTALL_USERID value
    • d2rAuthtypeNa

      public boolean d2rAuthtypeNa()
      Return true if d2rAuthtype() equals D2R_AUTHTYPE_NA.
      Returns:
      boolean d2rAuthtype() equals D2R_AUTHTYPE_NA

      D2R_AUTHTYPE_NA = 0x00

    • d2rAuthtypeUserid

      public boolean d2rAuthtypeUserid()
      Return true if d2rAuthtype() equals D2R_AUTHTYPE_USERID.
      Returns:
      boolean d2rAuthtype() equals D2R_AUTHTYPE_USERID

      D2R_AUTHTYPE_USERID = 0x01

    • d2rAuthtypeOpid

      public boolean d2rAuthtypeOpid()
      Return true if d2rAuthtype() equals D2R_AUTHTYPE_OPID.
      Returns:
      boolean d2rAuthtype() equals D2R_AUTHTYPE_OPID

      D2R_AUTHTYPE_OPID = 0x02

    • d2rAuthtypeGroup

      public boolean d2rAuthtypeGroup()
      Return true if d2rAuthtype() equals D2R_AUTHTYPE_GROUP.
      Returns:
      boolean d2rAuthtype() equals D2R_AUTHTYPE_GROUP

      D2R_AUTHTYPE_GROUP = 0x03

    • d2rAuthtypeSignid

      public boolean d2rAuthtypeSignid()
      Return true if d2rAuthtype() equals D2R_AUTHTYPE_SIGNID.
      Returns:
      boolean d2rAuthtype() equals D2R_AUTHTYPE_SIGNID

      D2R_AUTHTYPE_SIGNID = 0x04

    • d2rAuthtypeTerm

      public boolean d2rAuthtypeTerm()
      Return true if d2rAuthtype() equals D2R_AUTHTYPE_TERM.
      Returns:
      boolean d2rAuthtype() equals D2R_AUTHTYPE_TERM

      D2R_AUTHTYPE_TERM = 0x05

    • d2rAuthtypeTxid

      public boolean d2rAuthtypeTxid()
      Return true if d2rAuthtype() equals D2R_AUTHTYPE_TXID.
      Returns:
      boolean d2rAuthtype() equals D2R_AUTHTYPE_TXID

      D2R_AUTHTYPE_TXID = 0x06

    • d2rAccountrecNone

      public boolean d2rAccountrecNone()
      Return true if d2rAccountrec() equals D2R_ACCOUNTREC_NONE.
      Returns:
      boolean d2rAccountrec() equals D2R_ACCOUNTREC_NONE

      D2R_ACCOUNTREC_NONE = 0x01

    • d2rAccountrecTxid

      public boolean d2rAccountrecTxid()
      Return true if d2rAccountrec() equals D2R_ACCOUNTREC_TXID.
      Returns:
      boolean d2rAccountrec() equals D2R_ACCOUNTREC_TXID

      D2R_ACCOUNTREC_TXID = 0x02

    • d2rAccountrecTask

      public boolean d2rAccountrecTask()
      Return true if d2rAccountrec() equals D2R_ACCOUNTREC_TASK.
      Returns:
      boolean d2rAccountrec() equals D2R_ACCOUNTREC_TASK

      D2R_ACCOUNTREC_TASK = 0x03

    • d2rAccountrecUow

      public boolean d2rAccountrecUow()
      Return true if d2rAccountrec() equals D2R_ACCOUNTREC_UOW.
      Returns:
      boolean d2rAccountrec() equals D2R_ACCOUNTREC_UOW

      D2R_ACCOUNTREC_UOW = 0x04

    • d2rThreadwaitYes

      public boolean d2rThreadwaitYes()
      Return true if d2rThreadwait() equals D2R_THREADWAIT_YES.
      Returns:
      boolean d2rThreadwait() equals D2R_THREADWAIT_YES

      D2R_THREADWAIT_YES = 0x01

    • d2rThreadwaitNo

      public boolean d2rThreadwaitNo()
      Return true if d2rThreadwait() equals D2R_THREADWAIT_NO.
      Returns:
      boolean d2rThreadwait() equals D2R_THREADWAIT_NO

      D2R_THREADWAIT_NO = 0x02

    • d2rThreadwaitPool

      public boolean d2rThreadwaitPool()
      Return true if d2rThreadwait() equals D2R_THREADWAIT_POOL.
      Returns:
      boolean d2rThreadwait() equals D2R_THREADWAIT_POOL

      D2R_THREADWAIT_POOL = 0x03

    • d2rPriorityNa

      public boolean d2rPriorityNa()
      Return true if d2rPriority() equals D2R_PRIORITY_NA.
      Returns:
      boolean d2rPriority() equals D2R_PRIORITY_NA

      D2R_PRIORITY_NA = 0x00

    • d2rPriorityHigh

      public boolean d2rPriorityHigh()
      Return true if d2rPriority() equals D2R_PRIORITY_HIGH.
      Returns:
      boolean d2rPriority() equals D2R_PRIORITY_HIGH

      D2R_PRIORITY_HIGH = 0x01

    • d2rPriorityEqual

      public boolean d2rPriorityEqual()
      Return true if d2rPriority() equals D2R_PRIORITY_EQUAL.
      Returns:
      boolean d2rPriority() equals D2R_PRIORITY_EQUAL

      D2R_PRIORITY_EQUAL = 0x02

    • d2rPriorityLow

      public boolean d2rPriorityLow()
      Return true if d2rPriority() equals D2R_PRIORITY_LOW.
      Returns:
      boolean d2rPriority() equals D2R_PRIORITY_LOW

      D2R_PRIORITY_LOW = 0x03

    • d2rSharelocksYes

      public boolean d2rSharelocksYes()
      Return true if d2rSharelocks() equals D2R_SHARELOCKS_YES.
      Returns:
      boolean d2rSharelocks() equals D2R_SHARELOCKS_YES

      D2R_SHARELOCKS_YES = 0x01

    • d2rSharelocksNo

      public boolean d2rSharelocksNo()
      Return true if d2rSharelocks() equals D2R_SHARELOCKS_NO.
      Returns:
      boolean d2rSharelocks() equals D2R_SHARELOCKS_NO

      D2R_SHARELOCKS_NO = 0x02

    • d2rCsdapiChange

      public boolean d2rCsdapiChange()
      Return true if d2rChangeAgent() equals D2R_CSDAPI_CHANGE.
      Returns:
      boolean d2rChangeAgent() equals D2R_CSDAPI_CHANGE

      D2R_CSDAPI_CHANGE = 0x01

    • d2rCsdbatchChange

      public boolean d2rCsdbatchChange()
      Return true if d2rChangeAgent() equals D2R_CSDBATCH_CHANGE.
      Returns:
      boolean d2rChangeAgent() equals D2R_CSDBATCH_CHANGE

      D2R_CSDBATCH_CHANGE = 0x02

    • d2rDrepapiChange

      public boolean d2rDrepapiChange()
      Return true if d2rChangeAgent() equals D2R_DREPAPI_CHANGE.
      Returns:
      boolean d2rChangeAgent() equals D2R_DREPAPI_CHANGE

      D2R_DREPAPI_CHANGE = 0x03

    • d2rCreateChange

      public boolean d2rCreateChange()
      Return true if d2rChangeAgent() equals D2R_CREATE_CHANGE.
      Returns:
      boolean d2rChangeAgent() equals D2R_CREATE_CHANGE

      D2R_CREATE_CHANGE = 0x04

    • d2rCsdapiInstall

      public boolean d2rCsdapiInstall()
      Return true if d2rInstallAgent() equals D2R_CSDAPI_INSTALL.
      Returns:
      boolean d2rInstallAgent() equals D2R_CSDAPI_INSTALL

      D2R_CSDAPI_INSTALL = 0x01

    • d2rCreateInstall

      public boolean d2rCreateInstall()
      Return true if d2rInstallAgent() equals D2R_CREATE_INSTALL.
      Returns:
      boolean d2rInstallAgent() equals D2R_CREATE_INSTALL

      D2R_CREATE_INSTALL = 0x04

    • d2rGrplistInstall

      public boolean d2rGrplistInstall()
      Return true if d2rInstallAgent() equals D2R_GRPLIST_INSTALL.
      Returns:
      boolean d2rInstallAgent() equals D2R_GRPLIST_INSTALL

      D2R_GRPLIST_INSTALL = 0x05

    • create

      public static Db2ResourceStatistics create(byte[] Data, int offset, int length)
      create is intended for internal use only. Instances of this section are created by the parent record or section.
      Parameters:
      Data - Array of bytes containing data for this section
      offset - Offset of this section in the data
      length - length of the section