Class GlobalConf.PerformanceConf

    • Constructor Summary

      Constructors 
      Constructor Description
      PerformanceConf()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initialize​(boolean MULTITHREADING, int NUMBER_THREADS)  
      int NUMBER_THREADS()
      Returns the actual number of threads.
      • Methods inherited from class java.lang.Object

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

      • MULTITHREADING

        public boolean MULTITHREADING
      • NUMBER_THREADS

        public int NUMBER_THREADS
    • Constructor Detail

      • PerformanceConf

        public PerformanceConf()
    • Method Detail

      • initialize

        public void initialize​(boolean MULTITHREADING,
                               int NUMBER_THREADS)
      • NUMBER_THREADS

        public int NUMBER_THREADS()
        Returns the actual number of threads. It accounts for the number of threads being 0 or less, "let the program decide" option, in which case the number of processors is returned
        Returns:
        The number of threads