Klasse JobPool
java.lang.Object
ch.nolix.core.programcontrol.jobpool.JobPool
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
JobPool
public JobPool()
-
-
Methodendetails
-
enqueue
Enqueues the given job to the currentJobPool.- Parameter:
job-- Gibt zurück:
- a
IFuturefor the given job. - Löst aus:
ArgumentIsNullException- if the given job is null.
-
containsWaitingJobs
public boolean containsWaitingJobs()- Gibt zurück:
- true if the current
JobPoolcontains waiting jobs, false otherwise.
-
isIdle
public boolean isIdle()- Gibt zurück:
- true if the current
JobPoolis idle, false otherwise.
-