public class ProcessingCapacityNotificationInfo extends Object
OperatingSystemMXBean when the available
processing capacity changes.
Specifically, this notification indicates that the value returned by
OperatingSystemMXBean.getProcessingCapacity()
has changed.| Modifier and Type | Field and Description |
|---|---|
static String |
PROCESSING_CAPACITY_CHANGE |
| Constructor and Description |
|---|
ProcessingCapacityNotificationInfo(int newProcessingCapacity)
Constructs a new instance of this object.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessingCapacityNotificationInfo |
from(CompositeData cd)
Receives a
CompositeData representing a
ProcessingCapacityNotificationInfo object and attempts to
return the root ProcessingCapacityNotificationInfo
instance. |
int |
getNewProcessingCapacity()
Returns the new processing capacity after the change that this
notification corresponds to.
|
public static final String PROCESSING_CAPACITY_CHANGE
public ProcessingCapacityNotificationInfo(int newProcessingCapacity)
newProcessingCapacity - the new processing capacity in units of 1% of a physical
processor's capacitypublic int getNewProcessingCapacity()
public static ProcessingCapacityNotificationInfo from(CompositeData cd)
CompositeData representing a
ProcessingCapacityNotificationInfo object and attempts to
return the root ProcessingCapacityNotificationInfo
instance.cd - a CompositeDate that represents a
ProcessingCapacityNotificationInfo.cd is non- null, returns a new
instance of ProcessingCapacityNotificationInfo.
If cd is null, returns
null.IllegalArgumentException - if argument cd does not correspond to a
ProcessingCapacityNotificationInfo with the
following attribute:
newProcessingCapacity(
java.lang.Integer)
Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1993, 2025 IBM Corp. and others.
DRAFT internal-b00