Class QueueFactory

java.lang.Object
overit.geocall.scheduler.QueueFactory
All Implemented Interfaces:
Runnable

public class QueueFactory extends Object implements Runnable
This class manages the creation of JobQueue
  • Field Details

    • _name

      protected String _name
    • _description

      protected String _description
    • _state

      protected int _state
    • _mode

      protected int _mode
    • _jq

      protected JobQueue _jq
  • Constructor Details

    • QueueFactory

      public QueueFactory()
  • Method Details

    • getInstance

      public JobQueue getInstance(String name, String description, int state, int mode)
      Creates a new instance of QueueFactory
      Parameters:
      name - String containing the name
      description - String containing the description
      state - The state
      mode - The mode
      Returns:
      A JobQueue
    • run

      public void run()
      Specified by:
      run in interface Runnable