|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.grinder.engine.agent.AgentDaemon
public final class AgentDaemon
Agent Daemon. This is a wrapper for an Agent. It runs like a daemon
and if Agent finishes its work it sleeps and runs it again.
| Constructor Summary | |
|---|---|
AgentDaemon(org.slf4j.Logger logger,
long sleepTime,
Agent agent)
Constructor for AgentDaemon. |
|
| Method Summary | |
|---|---|
void |
run()
Start the agent. |
void |
shutdown()
Shut down the agent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentDaemon(org.slf4j.Logger logger,
long sleepTime,
Agent agent)
logger - A Logger.sleepTime - Time in milliseconds between connection attempts.agent - Delegate Agent that we want to run.| Method Detail |
|---|
public void run()
throws GrinderException
run in interface AgentGrinderException - If an error occurs.public void shutdown()
shutdown in interface Agent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||