| Package | Description |
|---|---|
| net.obvj.agents |
The base package.
|
| net.obvj.agents.impl |
Provides mainly internal classes for agents runtime.
|
| net.obvj.agents.util |
Provides utility classes in general.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CronAgent
An agent that runs a particular task at specified times and dates, similar to the Cron
service available in Unix/Linux systems.
|
class |
TimerAgent
A thread-safe extensible Agent for tasks that are scheduled in the system to run
repeatedly, given an interval that is particular to each task.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractAgent |
AgentManager.findAgentByName(String name)
Searches and returns the agent with the specified name in this manager's scope.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<AbstractAgent> |
AgentManager.getAgents() |
Function<AgentConfiguration,AbstractAgent> |
AgentType.getFactoryFunction()
Returns the default factory
Function to be applied for instantiating new agents
of this type. |
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotatedCronAgent
A
CronAgent that runs an object annotated with @Agent. |
class |
AnnotatedTimerAgent
A
TimerAgent that runs an object annotated with @Agent. |
| Modifier and Type | Method and Description |
|---|---|
static AbstractAgent |
AgentFactory.create(AgentConfiguration configuration)
Creates a new agent instance from the given
AgentConfiguration. |
Copyright © 2021. All rights reserved.