org.nlogo.nvm
Interface JobManagerInterface
public interface JobManagerInterface
Method Summary |
void |
addJob(Job job,
boolean waitForCompletion)
|
void |
addJob(JobOwner owner,
AgentSet agents,
Procedure procedure)
|
void |
addJobFromJobThread(Job job)
|
Object |
addReporterJobAndWait(AgentSet agentset,
Procedure procedure)
|
Object |
addReporterJobAndWait(AgentSet agentset,
Procedure procedure,
org.nlogo.util.MersenneTwisterFast rng)
|
void |
addSecondaryJob(JobOwner owner,
AgentSet agents,
Procedure procedure)
|
boolean |
anyPrimaryJobs()
|
Object |
callReporterProcedure(JobOwner owner,
AgentSet agentset,
Procedure procedure)
|
void |
die()
|
void |
finishJobs(JobOwner owner)
|
void |
finishSecondaryJobs(JobOwner owner)
|
void |
haltNonObserverJobs()
|
void |
haltPrimary()
|
void |
haltSecondary()
|
void |
interrupt()
|
boolean |
isInterrupted()
|
void |
joinForeverButtons(Agent agent)
|
Job |
makeConcurrentJob(JobOwner owner,
AgentSet agentset,
Procedure procedure)
|
void |
maybeRunSecondaryJobs()
|
void |
stoppingJobs(JobOwner owner)
|
void |
timeToRunSecondaryJobs()
|
PERIODIC_UPDATE_DELAY
static final int PERIODIC_UPDATE_DELAY
- See Also:
- Constant Field Values
isInterrupted
boolean isInterrupted()
interrupt
void interrupt()
die
void die()
throws InterruptedException
- Throws:
InterruptedException
timeToRunSecondaryJobs
void timeToRunSecondaryJobs()
maybeRunSecondaryJobs
void maybeRunSecondaryJobs()
anyPrimaryJobs
boolean anyPrimaryJobs()
addJob
void addJob(Job job,
boolean waitForCompletion)
makeConcurrentJob
Job makeConcurrentJob(JobOwner owner,
AgentSet agentset,
Procedure procedure)
callReporterProcedure
Object callReporterProcedure(JobOwner owner,
AgentSet agentset,
Procedure procedure)
throws LogoException
- Throws:
LogoException
addReporterJobAndWait
Object addReporterJobAndWait(AgentSet agentset,
Procedure procedure)
addReporterJobAndWait
Object addReporterJobAndWait(AgentSet agentset,
Procedure procedure,
org.nlogo.util.MersenneTwisterFast rng)
addJobFromJobThread
void addJobFromJobThread(Job job)
addJob
void addJob(JobOwner owner,
AgentSet agents,
Procedure procedure)
addSecondaryJob
void addSecondaryJob(JobOwner owner,
AgentSet agents,
Procedure procedure)
joinForeverButtons
void joinForeverButtons(Agent agent)
haltPrimary
void haltPrimary()
haltNonObserverJobs
void haltNonObserverJobs()
finishJobs
void finishJobs(JobOwner owner)
finishSecondaryJobs
void finishSecondaryJobs(JobOwner owner)
haltSecondary
void haltSecondary()
stoppingJobs
void stoppingJobs(JobOwner owner)