org.almendra.janet.ade.observer.simulation
Class ObserverAnchorSimulation

java.lang.Object
  extended by org.almendra.janet.ade.executor.AbstractAnchor
      extended by org.almendra.janet.ade.observer.ObserverAnchor
          extended by org.almendra.janet.ade.observer.simulation.ObserverAnchorSimulation

public class ObserverAnchorSimulation
extends ObserverAnchor


Field Summary
protected  int simulatedNonJanetCPULoad
           
static java.lang.String VIEW_TITLE_PREFIX
           
 
Fields inherited from class org.almendra.janet.ade.observer.ObserverAnchor
AGENT_NAME, ALL_OTHERS_LABEL, CAPABILITY_NAME, descriptor, displayController, evictionThreshold, LABEL, NODE_LABEL, nodeNames, nodeNamesLock, nonJanetCPULoad, observerAgent, significantWhenChangeExceeding, textArea, timer, workstationName
 
Fields inherited from class org.almendra.janet.ade.executor.AbstractAnchor
agents, agentsLock, handlers, LOG_EVENT_NO_DISTRIBUTOR_AGENT_FOUND, logger, systemApplication
 
Constructor Summary
protected ObserverAnchorSimulation()
          Creates a new ObserverAnchorSimulation object.
  ObserverAnchorSimulation(SystemApplication systemApplication, Logger logger)
          Creates a new ObserverAnchorSimulation object.
 
Method Summary
 int getSimulatedNonJanetCPULoad()
           
 void setSimulatedNonJanetCPULoad(int simulatedNonJanetCPULoad)
           
 
Methods inherited from class org.almendra.janet.ade.observer.ObserverAnchor
cancelTimer, checkRegisteredNodeIsDistributor, displayValues, getDescriptor, getEvictionThreshold, getExecutorAgent, getNodeNames, getNonJanetCPULoad, getSignificantWhenChangeExceeding, getWorkstationName, notifyDistributorAgent, notifyNodeAdded, notifyNodeRemoved, notifyWorkstationName, registerForEvents, setDescriptor, setDisplayController, setLogger, setNodeNames, setNonJanetCPULoad, setTextArea, setWorkstationName, startTimer
 
Methods inherited from class org.almendra.janet.ade.executor.AbstractAnchor
clearAgentsCache, getAgents, getAgentsList, getAgentsMap, getCrossAgent, getDistributorAgent, getDistributorAgent, getDistributorAgentUnprotected, getHandlers, getLoadAdministratorAgents, getLogger, getSystemApplication, logNoDistributorAgentFound, registeredLogEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_TITLE_PREFIX

public static final java.lang.String VIEW_TITLE_PREFIX
See Also:
Constant Field Values

simulatedNonJanetCPULoad

protected volatile int simulatedNonJanetCPULoad
Constructor Detail

ObserverAnchorSimulation

protected ObserverAnchorSimulation()
Creates a new ObserverAnchorSimulation object.


ObserverAnchorSimulation

public ObserverAnchorSimulation(SystemApplication systemApplication,
                                Logger logger)
Creates a new ObserverAnchorSimulation object.

Method Detail

getSimulatedNonJanetCPULoad

public int getSimulatedNonJanetCPULoad()
Returns:
Returns the simulatedNonJanetCPULoad.

setSimulatedNonJanetCPULoad

public void setSimulatedNonJanetCPULoad(int simulatedNonJanetCPULoad)
Parameters:
simulatedNonJanetCPULoad - The simulatedNonJanetCPULoad to set.