org.almendra.janet.ade.distributor.interpreters
Class NotifyQSCChangedInterpreter
java.lang.Object
org.almendra.janet.ade.distributor.interpreters.DistributorInterpreter
org.almendra.janet.ade.distributor.interpreters.NotifyValueChangedInterpreter
org.almendra.janet.ade.distributor.interpreters.NotifyQSCChangedInterpreter
- All Implemented Interfaces:
- IInterpreter
public class NotifyQSCChangedInterpreter
- extends NotifyValueChangedInterpreter
- implements IInterpreter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotifyQSCChangedInterpreter
public NotifyQSCChangedInterpreter()
- Creates a new
NotifyQSCChangedInterpreter
object.
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