- java.lang.Object
-
- com.ibm.jzos.wlm.ResourceContention
-
public class ResourceContention extends java.lang.Object
An object containing information about a resource contention.
- Since:
- 2.4.5
- See Also:
QueryContention
,QueryContentionResult
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 contentionint
getCount()
Return the count of the resource contentions signaled to SRM for this Subsystem type, Subsystem name, and contention ID combination.long
getStartTimeInMillis()
Return the time when the resource contention starts in Unix Epoch milliseconds.byte[]
getStartTimeInSTCK()
Return the time when the resource contention starts in STCK format.java.lang.String
getSubsystemName()
Return the name of the subsystem instance with the resource contention.java.lang.String
getSubsystemType()
Return the generic subsystem type of the resource contention.
-
-
-
Method Detail
-
getSubsystemType
public java.lang.String getSubsystemType()
Return the generic subsystem type of the resource contention.- Returns:
- generic subsystem type.
-
getSubsystemName
public java.lang.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.
-
-