Class SystemMonitor
java.lang.Object
com.ibm.j9ddr.vm29.j9.SystemMonitor
- All Implemented Interfaces:
Comparable<SystemMonitor>
- Direct Known Subclasses:
SystemMonitorSingleTier_V1
,SystemMonitorThreeTier_V1
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.ibm.j9ddr.vm29.pointer.generated.J9ThreadMonitorPointer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(SystemMonitor other) Compares this object with the specified object for order.static SystemMonitor
fromJ9ThreadMonitor
(com.ibm.j9ddr.vm29.pointer.generated.J9ThreadMonitorPointer monitor) abstract List
<com.ibm.j9ddr.vm29.pointer.generated.J9ThreadPointer> long
getCount()
getName()
com.ibm.j9ddr.vm29.pointer.generated.J9ThreadPointer
getOwner()
com.ibm.j9ddr.vm29.pointer.generated.J9ThreadMonitorPointer
abstract List
<com.ibm.j9ddr.vm29.pointer.generated.J9ThreadPointer> abstract boolean
-
Field Details
-
monitor
protected com.ibm.j9ddr.vm29.pointer.generated.J9ThreadMonitorPointer monitor
-
-
Constructor Details
-
SystemMonitor
public SystemMonitor()
-
-
Method Details
-
fromJ9ThreadMonitor
public static SystemMonitor fromJ9ThreadMonitor(com.ibm.j9ddr.vm29.pointer.generated.J9ThreadMonitorPointer monitor) throws CorruptDataException - Throws:
CorruptDataException
-
getRawMonitor
public com.ibm.j9ddr.vm29.pointer.generated.J9ThreadMonitorPointer getRawMonitor() -
compareTo
Description copied from interface:java.lang.Comparable
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.The implementor must ensure
signum
(x.compareTo(y)) == -signum(y.compareTo(x))
for allx
andy
. (This implies thatx.compareTo(y)
must throw an exception if and only ify.compareTo(x)
throws an exception.)The implementor must also ensure that the relation is transitive:
(x.compareTo(y) > 0 && y.compareTo(z) > 0)
impliesx.compareTo(z) > 0
.Finally, the implementor must ensure that
x.compareTo(y)==0
implies thatsignum(x.compareTo(z)) == signum(y.compareTo(z))
, for allz
.- Specified by:
compareTo
in interfaceComparable<SystemMonitor>
- Parameters:
other
- the object to be compared.- Returns:
- a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
-
getOwner
- Throws:
CorruptDataException
-
getName
-
getCount
- Throws:
CorruptDataException
-
isContended
- Throws:
CorruptDataException
-
getWaitingThreads
public abstract List<com.ibm.j9ddr.vm29.pointer.generated.J9ThreadPointer> getWaitingThreads() throws CorruptDataException- Throws:
CorruptDataException
-
getBlockedThreads
public abstract List<com.ibm.j9ddr.vm29.pointer.generated.J9ThreadPointer> getBlockedThreads() throws CorruptDataException- Throws:
CorruptDataException
-