org.almendra.janet.ade.distributor.interpreters
Class NotifyQSCChangedInterpreter

java.lang.Object
  extended by org.almendra.janet.ade.distributor.interpreters.DistributorInterpreter
      extended by org.almendra.janet.ade.distributor.interpreters.NotifyValueChangedInterpreter
          extended by org.almendra.janet.ade.distributor.interpreters.NotifyQSCChangedInterpreter
All Implemented Interfaces:
IInterpreter

public class NotifyQSCChangedInterpreter
extends NotifyValueChangedInterpreter
implements IInterpreter


Field Summary
 
Fields inherited from class org.almendra.janet.ade.distributor.interpreters.DistributorInterpreter
anchor
 
Constructor Summary
NotifyQSCChangedInterpreter()
          Creates a new NotifyQSCChangedInterpreter object.
 
Method Summary
protected  void checkImbalances(java.lang.String nodeName, CommandAccessor cmdAccessor, DistributorAnchor anchor)
           
 StringVector commandNames()
           
 void execute(CommandAccessor cmdAccessor)
           
protected  void reflectChange(CommandAccessor cmdAccessor, java.lang.String nodeName, int previousQueueSizeCategory, int currentQueueSizeCategory)
           
 
Methods inherited from class org.almendra.janet.ade.distributor.interpreters.NotifyValueChangedInterpreter
reflectNodeDroppedToQSC0
 
Methods inherited from class org.almendra.janet.ade.distributor.interpreters.DistributorInterpreter
getDistributorAnchor, getLoadAdministratorAgent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifyQSCChangedInterpreter

public NotifyQSCChangedInterpreter()
Creates a new NotifyQSCChangedInterpreter object.

Method Detail

execute

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

reflectChange

protected void reflectChange(CommandAccessor cmdAccessor,
                             java.lang.String nodeName,
                             int previousQueueSizeCategory,
                             int currentQueueSizeCategory)
Parameters:
cmdAccessor -
previousQueueSizeCategory -
currentQueueSizeCategory -

checkImbalances

protected void checkImbalances(java.lang.String nodeName,
                               CommandAccessor cmdAccessor,
                               DistributorAnchor anchor)
Parameters:
nodeName -
cmdAccessor -
anchor -

commandNames

public StringVector commandNames()
Specified by:
commandNames in interface IInterpreter
Overrides:
commandNames in class NotifyValueChangedInterpreter