Class Storage


public class Storage extends InputSection

Title: Storage

Description: This class implements the storage section.

Author:
Lulai Zhu Date: 15-07-2016 Time: 21.00.00
  • Field Details

  • Constructor Details

  • Method Details

    • isRedirectionON

      public boolean isRedirectionON()
      Tells if the redirection behaviour is turned on.
    • redirectionTurnOFF

      public void redirectionTurnOFF()
      Turns off the redirection behaviour.
    • redirectionTurnON

      public void redirectionTurnON(BlockingRegion region)
      Turns on the redirection behaviour.
    • nodeLinked

      protected void nodeLinked(NetNode node) throws NetException
      Description copied from class: NodeSection
      This method should be overridden to implement a specific behaviour of the node section when the node section itself is linked to the owner node. This method should be used to set node section properties depending on the owner node ones.
      Overrides:
      nodeLinked in class NodeSection
      Parameters:
      node - Owner node.
      Throws:
      NetException
    • preloadJobs

      public void preloadJobs(int[] jobsPerClass) throws NetException
      Preloads the specified numbers of jobs for each class.
      Parameters:
      jobsPerClass - the specified numbers of jobs for each class.
      Throws:
      NetException
    • process

      protected int process(NetMessage message) throws NetException
      Description copied from class: NodeSection
      This method should be overridden to implement a specific NetMessage processor.
      Specified by:
      process in class NodeSection
      Parameters:
      message - message to be processed.
      Returns:
      message processing result.
      Throws:
      NetException