Class MultiThreadTest

java.lang.Object
jadex.concurrent.MultiThreadTest

public class MultiThreadTest extends Object
This test class shows how the thread based scheduler works. The main thread represents the scheduler and schedules thread randomly.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static jadex.collection.IBlockingQueue<jadex.concurrent.MultiThreadTest.ExecutionThread>
    The waiting pool.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Main for testing.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • waits

      protected static jadex.collection.IBlockingQueue<jadex.concurrent.MultiThreadTest.ExecutionThread> waits
      The waiting pool.
  • Constructor Details

    • MultiThreadTest

      public MultiThreadTest()
  • Method Details

    • main

      public static void main(String[] args)
      Main for testing.