Class Parallel


  • public class Parallel
    extends Processor
    Implements a process which is executed in parallel.
    • Constructor Summary

      Constructors 
      Constructor Description
      Parallel()
      Constructs a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Parallel add​(Processor processor)
      Adds the process to an asynchronous task processor.
      void process​(ProcessingType processingType)
      Executes the processes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Parallel

        public Parallel()
        Constructs a new instance.
    • Method Detail

      • process

        public void process​(ProcessingType processingType)
        Description copied from class: Processor
        Executes the processes.
        Specified by:
        process in class Processor
        Parameters:
        processingType - the type of execution
      • add

        public Parallel add​(Processor processor)
        Adds the process to an asynchronous task processor.
        Parameters:
        processor - the processor
        Returns:
        the same instance