| Modifier and type | Property and description |
|---|---|
| org.arakhne.afc.vmutil.json.JsonBuffer | executorServiceStateRepresentation
Replies a Json representation of the internal thread executor's state. |
| Modifier and type | Action and description |
|---|---|
| abstract AgentTask | executeAsap(Runnable)
Submit the given task for being run as soon as possible. |
| abstract void | executeBlockingTasks(Collection<E>,[boolean])
Submit tasks to the executor service and wait for the termination of all the tasks. |
| abstract org.arakhne.afc.vmutil.json.JsonBuffer | getExecutorServiceStateRepresentation
Replies a Json representation of the internal thread executor's state. |
| abstract void | releaseInternalResources(Behavior)
Release any resource that is dedicated to the behavior itself. |
| abstract void | unregisterTasksForBehavior(Behavior)
Finish the tasks associated to the given behavior. |
val executorServiceStateRepresentation : org.arakhne.afc.vmutil.json.JsonBuffer
This property is an alias for the action: getExecutorServiceStateRepresentation
def executeAsap(Runnable) : AgentTask
def executeBlockingTasks(Collection<E>,[boolean])
thrownExceptions evaluates to true. If it is evaluates to false, the exception is logged.
def getExecutorServiceStateRepresentation : org.arakhne.afc.vmutil.json.JsonBuffer
def releaseInternalResources(Behavior)
def unregisterTasksForBehavior(Behavior)