Class Semaphore


public class Semaphore extends InputSection

Title: Semaphore

Description: This class is a Semaphore input section, used to gather previously forked tasks. Tasks are kept until the threshold is reached. If a non-fragmented job is received, it is simply routed to service section.

Author:
Vitor S. Lopes Date: 25-jul-2016 Time: 11.37.58
  • Constructor Details

    • Semaphore

      public Semaphore()
      Constructs a new Semaphore.
    • Semaphore

      public Semaphore(SemaphoreStrategy[] semaphoreStrategies)
  • Method Details

    • process

      protected int process(NetMessage message) throws NetException
      Processs the .
      Specified by:
      process in class NodeSection
      Parameters:
      message - message to be processed.
      Returns:
      message processing result.
      Throws:
      NetException - if something goes wrong.