io.sarl.sre.janus.skills.bic
Skill SchedulesSkill
All Superinterfaces:
Schedules, Capacity, IBehaviorGuardEvaluatorReceiver, InternalSchedules
skill SchedulesSkill
extends Skill
implements InternalSchedules
Skill that permits to execute tasks with an executor service.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Property Summary
Modifier and type Property and description
ConcurrentSet<T> activeTasks
org.arakhne.afc.vmutil.json.JsonBuffer executorServiceStateRepresentation
Inherited: caller, iD, owner, referenceCount
Constructor Summary
Action Summary
Capacity Use Summary
Type
Logging
Time
Property Details
activeTasks
val activeTasks : ConcurrentSet<T>

This property is an alias for the action: getActiveTasks

executorServiceStateRepresentation
val executorServiceStateRepresentation : org.arakhne.afc.vmutil.json.JsonBuffer

This property is an alias for the action: getExecutorServiceStateRepresentation

Constructor Details
new(ExecutorService,FailureListenerFactory,Provider<T>,Provider<T>)
new(ExecutorService,FailureListenerFactory,Provider<T>,Provider<T>)
Constructor.
Action Details
at([AgentTask],long,Procedure1<Param>)
def at([AgentTask],long,Procedure1<Param>) : AgentTask
atFixedDelay([AgentTask],long,Procedure1<Param>)
def atFixedDelay([AgentTask],long,Procedure1<Param>) : AgentTask
cancel(AgentTask,[boolean])
def cancel(AgentTask,[boolean]) : boolean
every([AgentTask],long,Procedure1<Param>)
def every([AgentTask],long,Procedure1<Param>) : AgentTask
execute([AgentTask],Procedure1<Param>)
def execute([AgentTask],Procedure1<Param>) : AgentTask
executeAsap(Runnable)
def executeAsap(Runnable) : AgentTask
executeBlockingTasks(Collection<E>,[boolean])
def executeBlockingTasks(Collection<E>,[boolean])
getActiveTasks
def getActiveTasks : ConcurrentSet<T>
getExecutorServiceStateRepresentation
def getExecutorServiceStateRepresentation : org.arakhne.afc.vmutil.json.JsonBuffer
getTaskDescription(AgentTask)
protected def getTaskDescription(AgentTask) : io.sarl.sre.janus.skills.bic.SchedulesSkill.TaskDescription
Replies the task description of the given task.
Parameters:
task - the task reference.
Returns:
the task description, or null if the task is unknown.
in([AgentTask],long,Procedure1<Param>)
def in([AgentTask],long,Procedure1<Param>) : AgentTask
isCanceled(AgentTask)
def isCanceled(AgentTask) : boolean
prepareUninstallation
protected def prepareUninstallation
releaseInternalResources(Behavior)
def releaseInternalResources(Behavior)
Called by a behavior when it is destroyed.
setName(AgentTask,String)
def setName(AgentTask,String)
task(String)
def task(String) : AgentTask
uninstall
protected def uninstall
unregisterTasksForBehavior(Behavior)
def unregisterTasksForBehavior(Behavior)
Called by a behavior when it is destroyed.