Package adams.core

Interface ThreadLimiterWithOptionalCap

  • All Superinterfaces:
    ThreadLimiter
    All Known Implementing Classes:
    ArrayGenerate, Branch

    public interface ThreadLimiterWithOptionalCap
    extends ThreadLimiter
    Interface for thread limiters that can allow unlimited number of threads.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • setUseThreadCap

        void setUseThreadCap​(boolean value)
        Sets whether to restrict number of threads or not.
        Parameters:
        value - true if to restrict
      • getUseThreadCap

        boolean getUseThreadCap()
        Returns whether to restrict number of threads or not.
        Returns:
        true if to restrict