public interface TaskExecutorInterface
TaskExecutor
,
RequestHandler
,
TaskQueue
,
TaskQueueInterface
,
Lang
Modifier and Type | Method and Description |
---|---|
void |
executeTasks()
Retrieve a task from the taskQueue and then execute it
|
Lang[] |
getLanguages()
Retrieve all the languages currently supported by this executor
|
void |
setExecutionTime(double timeInSec)
Set the execution duration
|
void |
setMemLimit(java.lang.String memLimit)
Set the memory limit of the executor
|
void executeTasks()
void setExecutionTime(double timeInSec)
timeInSec
- the duration in secondvoid setMemLimit(java.lang.String memLimit)
memLimit
- the memory limit (optional suffix can be b,m or g)
it must be a string representation of a numberLang[] getLanguages()