Modifier and Type | Field and Description |
---|---|
private AgentId |
destId |
private static org.objectweb.util.monolog.api.Logger |
logger |
private boolean |
schedule |
private Class<?> |
wakeUpNot |
Constructor and Description |
---|
WakeUpTask(AgentId id,
Class<?> wakeUpNotClass,
long period)
Creates a new WakeUpTask and schedules it.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
private void |
schedule(long period)
Schedules the wake up task for execution after the given period.
|
cancel, scheduledExecutionTime
Copyright © 2021 ScalAgent D.T.. All rights reserved.