Class GeneralNPLProcessorNode

All Implemented Interfaces:
AdminIfc, ConfigIfc, LoggerIfc, NodeHealthIfc, NodeStateManagementIfc, PropertyIfc, StateManagementIfc
Direct Known Subclasses:
AggregatorNode, DiscardingProcessorNode, DupRemoverNode, NPLProcessorNode, NPLProcessorNodeMT, SequenceProcessorNode

public abstract class GeneralNPLProcessorNode extends CommonProcessorNode
This General NPL Processor Node handles some base functionality that applies to ALL forms of NPL, regardless of the specific features. If you need a node that is intimately tied to a specific feature, or type, of NPL, then derived a node from here.
  • Constructor Details

    • GeneralNPLProcessorNode

      public GeneralNPLProcessorNode() throws NodeStartException
      Default Constructor.
      Throws:
      NodeStartException
    • GeneralNPLProcessorNode

      public GeneralNPLProcessorNode(String[] args) throws NodeStartException
      Constructor for the GeneralNPLProcessorNode.
      Parameters:
      args - Passed to super class ProcessorNode
      Throws:
      NodeStartException
    • GeneralNPLProcessorNode

      public GeneralNPLProcessorNode(String[] args, boolean multithread) throws NodeStartException
      Constructor for the GeneralNPLProcessorNode.
      Parameters:
      args - Passed to super class ProcessorNode
      multithread - Passed from derived class if it is multi-threaded
      Throws:
      NodeStartException
  • Method Details

    • isNodeStateUsed

      public boolean isNodeStateUsed()
      Returns whether the node state is used (and whether the node can be recovered. Currently disabled for NPLProcessorNode.
      Specified by:
      isNodeStateUsed in interface NodeStateManagementIfc
      Overrides:
      isNodeStateUsed in class ProcessorNode
      Returns:
      true, if node state is being used
    • shutdown

      public void shutdown()
      Performs the necessary tasks to properly shutdown the node.
      Specified by:
      shutdown in interface AdminIfc
      Overrides:
      shutdown in class CommonProcessorNode
    • getNPLFile

      protected String getNPLFile()
      Returns the default NPL file filename.
    • setNPLFile

      protected void setNPLFile(String NPLfile)
      Sets the default NPL file filename.