| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
enableStatistics
Indicates whether or not the system will process and store statistical data (e.g.:
average execution duration) for this agent.
|
String |
interval
The interval between executions.
|
boolean |
modulate
Indicates whether or not the first execution should be delayed to cause the next ones
to occur on the interval boundary (default is
false). |
String |
name
The agent name.
|
AgentType |
type
The agent type.
|
public abstract String name
If not specified, the agent name will be equal to the canonical class name.
public abstract AgentType type
If not specified, AgentType.TIMER will be considered.
public abstract String interval
If not specified, a default interval will be considered for, which is defined by the agent type.
public abstract boolean modulate
false).
For example:
4 hours then the first execution will be delayed to 4h, and then the next ones
will occur at 8h, 12h, 16h, etc.4 hours then the first execution will occur immediately (3h25), and then the
next ones will occur at 7h25, 11h25, 15h25, etc.
NOTE: This option is only applicable for agents of type AgentType.TIMER.
Copyright © 2022. All rights reserved.