public interface AgentAdministrator
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(java.lang.String id)
Unregisters this agent and then shuts it down.
|
AgentInfo |
get(java.lang.String id)
Returns information about the specified Flux agent, which is assumed to be
already registered with a Flux engine in this cluster.
|
java.util.SortedSet<AgentInfo> |
getAll()
Returns information about all Flux agents that are registered with any Flux
engine in this cluster.
|
void |
interrupt(java.lang.String id)
Interrupts the currently executing process on the specified agent.
|
void |
restart(AgentConfiguration configuration)
Provides a way to reconfigure an agent without creating a new agent object.
|
void |
start(java.lang.String id)
Starts the specified agent.
|
void |
stop(java.lang.String id)
Stops the specified agent.
|
void dispose(java.lang.String id)
throws EngineException
id - Unique identifier for an agent.EngineException - If the agent is not recognized, if the agent cannot
be contacted, or if a system error occurs.EngineCommunicationException - If a networking error occurs.AgentInfo get(java.lang.String id) throws EngineException
id - Unique identifier for an agent.EngineException - If the agent is not recognized or if a system error
occurs.EngineCommunicationException - If a networking error occurs.java.util.SortedSet<AgentInfo> getAll() throws EngineException
EngineException - If a system error occurs.EngineCommunicationException - If a networking error occurs.void interrupt(java.lang.String id)
throws EngineException
id - Unique identifier for an agent.EngineException - If the agent is not recognized, if the agent cannot
be contacted, or if a system error occurs.EngineCommunicationException - If a networking error occurs.Agent.interrupt()void restart(AgentConfiguration configuration) throws EngineException
configuration - Properties that control how this agent communicates
with an engine and how it otherwise behaves.EngineException - If the agent configuration is invalid.EngineCommunicationException - If a networking error occurs.Agent.restart(AgentConfiguration)void start(java.lang.String id)
throws EngineException
id - Unique identifier for an agent.EngineException - If the agent is not recognized, if the agent cannot
be contacted, or if a system error occurs.EngineCommunicationException - If a networking error occurs.Agent.start()void stop(java.lang.String id) throws EngineException
id - Unique identifier for an agent.EngineException - If the agent is not recognized, if the agent cannot
be contacted, or if a system error occurs.EngineCommunicationException - If a networking error occurs.Agent.stop()© 2000-2025 Flux Corporation. All rights reserved.