|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.almendra.janet.ade.commands.NotifyCPULoadChangedCommand
public class NotifyCPULoadChangedCommand
Field Summary | |
---|---|
protected int |
change
|
static int |
CPULoadAboveThreshold
|
static int |
CPULoadBelowThreshold
|
static int |
CPULoadSignificantChange
|
protected int |
currentNonJanetCPULoad
|
protected int |
previousNonJanetCPULoad
|
static java.lang.String |
QualifiedName
|
protected java.lang.String |
workstationName
|
Fields inherited from interface org.almendra.janet.cas.scheduling.ICommand |
---|
ApplicationMaxPriority, ApplicationMinPriority, InterruptPriority, SystemPriority |
Constructor Summary | |
---|---|
protected |
NotifyCPULoadChangedCommand()
Creates a new NotifyCPULoadChangedCommand object. |
|
NotifyCPULoadChangedCommand(java.lang.String workstationName,
int previousNonJanetCPULoad,
int currentNonJanetCPULoad,
int cpuLoadAboveOrBelow)
Creates a new NotifyCPULoadChangedCommand object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Make sure the user can rely on a command to be cloneable. |
int |
getChange()
|
int |
getCurrentNonJanetCPULoad()
|
int |
getPreviousNonJanetCPULoad()
|
int |
getPriority()
Answer the priority of the command. |
java.lang.String |
getQualifiedName()
Answer the fully qualified name of the command, e.g. package and class name. |
java.lang.String |
getWorkstationName()
|
java.lang.String |
toLogString()
Return a string printing a command onto a string used for logging. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String QualifiedName
public static final int CPULoadAboveThreshold
public static final int CPULoadBelowThreshold
public static final int CPULoadSignificantChange
protected int previousNonJanetCPULoad
protected int currentNonJanetCPULoad
protected java.lang.String workstationName
protected int change
Constructor Detail |
---|
protected NotifyCPULoadChangedCommand()
NotifyCPULoadChangedCommand
object.
public NotifyCPULoadChangedCommand(java.lang.String workstationName, int previousNonJanetCPULoad, int currentNonJanetCPULoad, int cpuLoadAboveOrBelow)
NotifyCPULoadChangedCommand
object.
Method Detail |
---|
public java.lang.String getQualifiedName()
ICommand
getQualifiedName
in interface ICommand
public int getPriority()
ICommand
getPriority
in interface ICommand
public java.lang.String toLogString()
ICommand
toLogString
in interface ICommand
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
ICommand
clone
in interface ICommand
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String getWorkstationName()
public int getCurrentNonJanetCPULoad()
public int getPreviousNonJanetCPULoad()
public int getChange()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |