java.lang.Object
com.ibm.j9ddr.vm29.j9.SystemMonitor
- All Implemented Interfaces:
Comparable<SystemMonitor>
- Direct Known Subclasses:
SystemMonitorSingleTier_V1,SystemMonitorThreeTier_V1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.ibm.j9ddr.vm29.pointer.generated.J9ThreadMonitorPointer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SystemMonitor other) Compares this object with the specified object for order.static SystemMonitorfromJ9ThreadMonitor(com.ibm.j9ddr.vm29.pointer.generated.J9ThreadMonitorPointer monitor) abstract List<com.ibm.j9ddr.vm29.pointer.generated.J9ThreadPointer> longgetCount()getName()com.ibm.j9ddr.vm29.pointer.generated.J9ThreadPointergetOwner()com.ibm.j9ddr.vm29.pointer.generated.J9ThreadMonitorPointerabstract 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.ComparableCompares 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 allxandy. (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)==0implies thatsignum(x.compareTo(z)) == signum(y.compareTo(z)), for allz.- Specified by:
compareToin 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
-