| Modifier and Type | Field and Description |
|---|---|
AgentTask |
TaskFailure.task
The failing task.
|
| Modifier and Type | Method and Description |
|---|---|
AgentTask |
Schedules.at(AgentTask task,
long time,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a given task to be executed at the given time.
|
AgentTask |
Schedules.atFixedDelay(AgentTask task,
long delay,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a single-execution task.
|
AgentTask |
Schedules.every(AgentTask task,
long period,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a periodic execution of the given task.
|
AgentTask |
Schedules.execute(AgentTask task,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a single-execution task.
|
AgentTask |
AgentTask.ifTrue(org.eclipse.xtext.xbase.lib.Functions.Function1<? super Agent,? extends Boolean> predicate)
Change the guard to the given predicate.
|
AgentTask |
Schedules.in(AgentTask task,
long delay,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a given task to be executed after the specified delay.
|
AgentTask |
Schedules.task(String name)
Create a named task that can be retrieved and schedule later.
|
AgentTask |
AgentTask.unless(org.eclipse.xtext.xbase.lib.Functions.Function1<? super Agent,? extends Boolean> predicate)
Change the guard of this that with the negation of the given predicate.
|
| Modifier and Type | Method and Description |
|---|---|
AgentTask |
Schedules.at(AgentTask task,
long time,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a given task to be executed at the given time.
|
AgentTask |
Schedules.atFixedDelay(AgentTask task,
long delay,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a single-execution task.
|
boolean |
Schedules.cancel(AgentTask task,
boolean mayInterruptIfRunning)
Attempts to cancel execution of this task.
|
AgentTask |
Schedules.every(AgentTask task,
long period,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a periodic execution of the given task.
|
AgentTask |
Schedules.execute(AgentTask task,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a single-execution task.
|
AgentTask |
Schedules.in(AgentTask task,
long delay,
org.eclipse.xtext.xbase.lib.Procedures.Procedure1<? super Agent> procedure)
Schedule a given task to be executed after the specified delay.
|
boolean |
Schedules.isCanceled(AgentTask task)
Replies if the given task was canceled.
|
void |
Schedules.setName(AgentTask task,
String name)
Change the name of the given task.
|
| Constructor and Description |
|---|
TaskFailure(Address source,
AgentTask task,
Object cause)
Construct the event.
|
Copyright © 2021 the original authors or authors.