|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AgentController
Management interface for the AgentController.
| Field Summary | |
|---|---|
static java.lang.String |
PERFORMANCE_AGENT_LOCATION
The Performance AGENT location. |
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getActiveAgents()
Returns a Collection of Strings containing the dataSourceIds of the currently active agents. |
java.util.Collection<java.lang.String> |
getAvailableAgents()
returns the AgentController known Agents. |
AgentState |
getState(java.lang.String dataSourceId)
Returns the AgentState of the agent with the given dataSourceId. |
boolean |
hasActiveAgents()
Checks if there are any active agents. |
int |
startAgent(java.lang.String dataSourceId)
Starts an Agent using the given dataSourceId. |
void |
stopAgent(java.lang.String dataSourceId)
Stops an active agent using the given dataSourceId. |
| Field Detail |
|---|
static final java.lang.String PERFORMANCE_AGENT_LOCATION
| Method Detail |
|---|
int startAgent(java.lang.String dataSourceId)
throws ConnectivityException
dataSourceId - the ID of the data source
ConnectivityException - if any error occurs
void stopAgent(java.lang.String dataSourceId)
throws ConnectivityException
dataSourceId - the ID of the data source
ConnectivityException - if any error occurs
boolean hasActiveAgents()
throws ConnectivityException
ConnectivityException - if any error occurs
java.util.Collection<java.lang.String> getActiveAgents()
throws ConnectivityException
ConnectivityException - if any error occurs
AgentState getState(java.lang.String dataSourceId)
throws ConnectivityException
dataSourceId - the ID of the data source to get the state
ConnectivityException - if any error occursjava.util.Collection<java.lang.String> getAvailableAgents()
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||