org.almendra.janet.ade.observer.interpreters
Class ObserveWorkstationLoadInterpreter

java.lang.Object
  extended by org.almendra.janet.ade.observer.interpreters.ObserverInterpreter
      extended by org.almendra.janet.ade.observer.interpreters.ObserveWorkstationLoadInterpreter
All Implemented Interfaces:
IInterpreter
Direct Known Subclasses:
ObserveWorkstationLoadInterpreter

public class ObserveWorkstationLoadInterpreter
extends ObserverInterpreter
implements IInterpreter


Constructor Summary
ObserveWorkstationLoadInterpreter()
          Creates a new ObserveWorkstationLoadInterpreter object.
 
Method Summary
protected  void checkCurrentAllOtherCPULoad(java.util.Map loadTable, ObserverAnchor anchor)
           
 StringVector commandNames()
           
 void execute(CommandAccessor cmdAccessor)
           
protected  java.util.Map getCurrentCPULoadByProcesses(CommandAccessor cmdAccessor)
           
 
Methods inherited from class org.almendra.janet.ade.observer.interpreters.ObserverInterpreter
getAnchor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObserveWorkstationLoadInterpreter

public ObserveWorkstationLoadInterpreter()
Creates a new ObserveWorkstationLoadInterpreter object.

Method Detail

execute

public void execute(CommandAccessor cmdAccessor)
Specified by:
execute in interface IInterpreter

checkCurrentAllOtherCPULoad

protected void checkCurrentAllOtherCPULoad(java.util.Map loadTable,
                                           ObserverAnchor anchor)
Parameters:
loadTable -
anchor -

getCurrentCPULoadByProcesses

protected java.util.Map getCurrentCPULoadByProcesses(CommandAccessor cmdAccessor)
Returns:

commandNames

public StringVector commandNames()
Specified by:
commandNames in interface IInterpreter