org.almendra.janet.cas.monitor
Class MonitorProducerAnchor

java.lang.Object
  extended by org.almendra.janet.cas.monitor.MonitorAnchor
      extended by org.almendra.janet.cas.monitor.MonitorProducerAnchor
All Implemented Interfaces:
IMonitorProducerAnchor

public class MonitorProducerAnchor
extends MonitorAnchor
implements IMonitorProducerAnchor


Field Summary
static java.lang.String AGENT_NAME
           
static java.lang.String CAPABILITY_NAME
           
protected  java.util.Map consumerAgentPaths
           
static java.lang.String LABEL
           
protected  java.util.Map shutdownHandlers
           
 
Fields inherited from class org.almendra.janet.cas.monitor.MonitorAnchor
NODE_LABEL
 
Constructor Summary
MonitorProducerAnchor()
          Creates a new MonitorProducerAnchor object.
 
Method Summary
 java.util.Map getConsumerAgentPaths()
           
 ICommand getEvictedExecutingCommandNotification(java.lang.String nodeName, CommandEnvelope env)
           
 ICommand getEvictedWaitingCommandNotification(java.lang.String nodeName, CommandEnvelope env)
           
 ICommand getFinishedCommandNotification(java.lang.String nodeName, CommandEnvelope env)
           
 ICommand getReceivedCommandAndWaitingNotification(java.lang.String nodeName, CommandEnvelope env)
           
 ICommand getReceivedCommandNotification(java.lang.String nodeName, CommandEnvelope env)
           
 ICommand getRemovedWaitingCommandNotification(java.lang.String nodeName, CommandEnvelope env)
           
 java.util.Map getShutdownHandlers()
           
 ICommand getStartedCommandNotification(java.lang.String nodeName, CommandEnvelope env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL

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

CAPABILITY_NAME

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

AGENT_NAME

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

consumerAgentPaths

protected java.util.Map consumerAgentPaths

shutdownHandlers

protected java.util.Map shutdownHandlers
Constructor Detail

MonitorProducerAnchor

public MonitorProducerAnchor()
Creates a new MonitorProducerAnchor object.

Method Detail

getConsumerAgentPaths

public java.util.Map getConsumerAgentPaths()
Returns:
Returns the consumerAgentPaths.

getShutdownHandlers

public java.util.Map getShutdownHandlers()
Returns:
Returns the shutdownHandlers.

getStartedCommandNotification

public ICommand getStartedCommandNotification(java.lang.String nodeName,
                                              CommandEnvelope env)
Specified by:
getStartedCommandNotification in interface IMonitorProducerAnchor

getFinishedCommandNotification

public ICommand getFinishedCommandNotification(java.lang.String nodeName,
                                               CommandEnvelope env)
Specified by:
getFinishedCommandNotification in interface IMonitorProducerAnchor
Returns:

getReceivedCommandAndWaitingNotification

public ICommand getReceivedCommandAndWaitingNotification(java.lang.String nodeName,
                                                         CommandEnvelope env)
Specified by:
getReceivedCommandAndWaitingNotification in interface IMonitorProducerAnchor

getRemovedWaitingCommandNotification

public ICommand getRemovedWaitingCommandNotification(java.lang.String nodeName,
                                                     CommandEnvelope env)
Specified by:
getRemovedWaitingCommandNotification in interface IMonitorProducerAnchor

getEvictedWaitingCommandNotification

public ICommand getEvictedWaitingCommandNotification(java.lang.String nodeName,
                                                     CommandEnvelope env)
Specified by:
getEvictedWaitingCommandNotification in interface IMonitorProducerAnchor

getEvictedExecutingCommandNotification

public ICommand getEvictedExecutingCommandNotification(java.lang.String nodeName,
                                                       CommandEnvelope env)
Specified by:
getEvictedExecutingCommandNotification in interface IMonitorProducerAnchor

getReceivedCommandNotification

public ICommand getReceivedCommandNotification(java.lang.String nodeName,
                                               CommandEnvelope env)
Specified by:
getReceivedCommandNotification in interface IMonitorProducerAnchor
Returns: