MUM.resourceMngService
Class CPUStatusEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byMUM.resourceMngService.CPUStatusEvent
All Implemented Interfaces:
java.io.Serializable

public class CPUStatusEvent
extends java.util.EventObject

This event is launched by a ICPUStatusNotifier, and encapsulate the CPU's usage percentage. The politics to launch this event are encapsulated in the notifier, which decides when to launch the event.

See Also:
Serialized Form

Field Summary
(package private)  int cpuUsagePercentage
          The CPU usage percentage
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CPUStatusEvent(java.lang.Object source, int cpuUsagePercentage)
          Costruttore
 
Method Summary
 int getCPUPercentage()
          Selettore
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cpuUsagePercentage

int cpuUsagePercentage
The CPU usage percentage

Constructor Detail

CPUStatusEvent

public CPUStatusEvent(java.lang.Object source,
                      int cpuUsagePercentage)
Costruttore

Method Detail

getCPUPercentage

public int getCPUPercentage()
Selettore



Copyright © 2004 Luca Foschini