Module ibm.jzos

Class ResourceContention

java.lang.Object
com.ibm.jzos.wlm.ResourceContention

public class ResourceContention extends Object

An object containing information about a resource contention.

Since:
2.4.5
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the ID of the SRM service the resource contention was assigned to: 1 = Standard enqueue hold 2 = Short time enqueue hold 3 = Chronic resource contention
    int
    Return the count of the resource contentions signaled to SRM for this Subsystem type, Subsystem name, and contention ID combination.
    long
    Return the time when the resource contention starts in Unix Epoch milliseconds.
    byte[]
    Return the time when the resource contention starts in STCK format.
    Return the name of the subsystem instance with the resource contention.
    Return the generic subsystem type of the resource contention.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getSubsystemType

      public String getSubsystemType()
      Return the generic subsystem type of the resource contention.
      Returns:
      generic subsystem type.
    • getSubsystemName

      public String getSubsystemName()
      Return the name of the subsystem instance with the resource contention.
      Returns:
      name of the subsystem instance.
    • getStartTimeInSTCK

      public byte[] getStartTimeInSTCK()
      Return the time when the resource contention starts in STCK format.
      Returns:
      time in STCK format. If there are multiple requests, the oldest timestamp is returned.
    • getStartTimeInMillis

      public long getStartTimeInMillis()
      Return the time when the resource contention starts in Unix Epoch milliseconds.
      Returns:
      Epoch time in milliseconds. If there are multiple requests, the oldest timestamp is returned.
    • getContentionId

      public int getContentionId()
      Return the ID of the SRM service the resource contention was assigned to:
      • 1 = Standard enqueue hold
      • 2 = Short time enqueue hold
      • 3 = Chronic resource contention
      Returns:
      ID of SRM service the resource contention was assigned to.
    • getCount

      public int getCount()
      Return the count of the resource contentions signaled to SRM for this Subsystem type, Subsystem name, and contention ID combination.
      Returns:
      count of the contentions with the same subsystem type, subsystem name, and contention ID.