Package adams.core
Interface OptionalThreadLimiter
-
- All Superinterfaces:
ThreadLimiter
- All Known Implementing Classes:
LaunchTee
,LaunchTrigger
public interface OptionalThreadLimiter extends ThreadLimiter
Interface for classes that have optional thread limits.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getImposeThreadLimits()
Returns whether to limit the number of threads to use.void
setImposeThreadLimits(boolean value)
Sets whether to limit the number of threads to use.-
Methods inherited from interface adams.core.ThreadLimiter
getNumThreads, setNumThreads
-
-
-
-
Method Detail
-
setImposeThreadLimits
void setImposeThreadLimits(boolean value)
Sets whether to limit the number of threads to use.- Parameters:
value
- true if to limit
-
getImposeThreadLimits
boolean getImposeThreadLimits()
Returns whether to limit the number of threads to use.- Returns:
- true if to limit
-
-