Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members

agents.executionmanagementagent.ExecutionManagementAgent Interface Reference

Inherited by agents.executionmanagementagent.ExecutionManagementAgentImpl.

Inheritance diagram for agents.executionmanagementagent.ExecutionManagementAgent:

[legend]
List of all members.

Public Member Functions

void registerAgent (ExecutionInfo execInfo)
boolean changeAgentHost (String appExecId, String newHost)
ExecutionInfo[] getAgentList (String host)
void recoverHost (String host)
void killApplication (String appExecId)
void acceptedExecutionRequestNotification (ApplicationData app, String user)
void refusedExecutionRequestNotification (AsctRequestId id)
boolean migrateExecutionNotification (String appExecutionId, String newHost)
boolean appInitiatedNotification (String execId, Iterator inputFiles)
boolean appFinishedNotification (String appExecutionId, Iterator outputFiles)
ApplicationParam getApplicationParam (AsctRequestId id)
FileStruct getInputFile (AsctRequestId id, String name)
FileStruct getOutputFile (AsctRequestId id, String name)
ApplicationStateInfo[] getApplicationsStateInfo (String user)
boolean removeExecResults (AsctRequestId id)
boolean updateAgent (ExecutionInfo einfo)

Static Public Attributes

static final String EXECUTION_MANAGEMENT_AGENT_NAME = "executionmanagementagent"

Detailed Description

Author:
gilberto
TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates


Member Function Documentation

void agents.executionmanagementagent.ExecutionManagementAgent.acceptedExecutionRequestNotification ApplicationData  app,
String  user
 

This method store that the application's request was accepted.

Parameters:
app - Application's Data that sended.
user - User that sended the application.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

boolean agents.executionmanagementagent.ExecutionManagementAgent.appFinishedNotification String  appExecutionId,
Iterator  outputFiles
 

This method notify the ExecutionManagementAgent after, which the MagAgent will finished the applicaiton.

Parameters:
id - identify the application.
outputFiles - OutputFiles about application.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

boolean agents.executionmanagementagent.ExecutionManagementAgent.appInitiatedNotification String  execId,
Iterator  inputFiles
 

This method notify the ExecutionManagementAgent before, which the MagAgent will running the applicaiton.

Parameters:
id - identify the application.
inputFiles - InputFiles about application.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

boolean agents.executionmanagementagent.ExecutionManagementAgent.changeAgentHost String  appExecId,
String  newHost
 

This method changes the location (host) where the agent is running on.

Parameters:
appExecId -identify the application.
newHost - New host's name where the application will be running.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

ExecutionInfo [] agents.executionmanagementagent.ExecutionManagementAgent.getAgentList String  host  ) 
 

This method retrieves the list of agents that is running on specified host.

Parameters:
host - Host where the list of agents, are running.
Returns:
informations about all agents running in a host

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

ApplicationParam agents.executionmanagementagent.ExecutionManagementAgent.getApplicationParam AsctRequestId  id  ) 
 

This method return all Application's Param.

Parameters:
id - identify the application.
Returns:
ApplicationParam.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

ApplicationStateInfo [] agents.executionmanagementagent.ExecutionManagementAgent.getApplicationsStateInfo String  user  ) 
 

This method return the Application's State.

Parameters:
user - User that sended the application.
Returns:
ApplicationStateInfo[].

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

FileStruct agents.executionmanagementagent.ExecutionManagementAgent.getInputFile AsctRequestId  id,
String  name
 

This method return one InputFile.

Parameters:
id- identify the application.
name - InputFile's name.
Returns:
FileStruct.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

FileStruct agents.executionmanagementagent.ExecutionManagementAgent.getOutputFile AsctRequestId  id,
String  name
 

This method return one OutputFile.

Parameters:
id- identify the application.
name - OutputFile's name.
Returns:
FileStruct.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

void agents.executionmanagementagent.ExecutionManagementAgent.killApplication String  appExecId  ) 
 

This method kill the application.

Parameters:
appExecId - Applications's Identify.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

boolean agents.executionmanagementagent.ExecutionManagementAgent.migrateExecutionNotification String  appExecutionId,
String  newHost
 

This method store the info that the application, was migrated.

Parameters:
id - identify the application.
newHost - host's name where the application will be running.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

void agents.executionmanagementagent.ExecutionManagementAgent.recoverHost String  host  ) 
 

This method recover all process that were running on specified host.

Parameters:
host - Host's name.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

void agents.executionmanagementagent.ExecutionManagementAgent.refusedExecutionRequestNotification AsctRequestId  id  ) 
 

This method store the info that the application, was refused.

Parameters:
id - identify the application.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

void agents.executionmanagementagent.ExecutionManagementAgent.registerAgent ExecutionInfo  execInfo  ) 
 

Method responsible for register an agent in the executionmanagementagent.

Parameters:
execInfo - Application's Data .

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

boolean agents.executionmanagementagent.ExecutionManagementAgent.removeExecResults AsctRequestId  id  ) 
 

This method removes the pertaining results to the application

Parameters:
id - identify the application.
Returns:
true, if success; or else, false.

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.

boolean agents.executionmanagementagent.ExecutionManagementAgent.updateAgent ExecutionInfo  einfo  ) 
 

This method update Agent's status and Application's info.

Parameters:
ainfo - Application's Data .

Implemented in agents.executionmanagementagent.ExecutionManagementAgentImpl.


Member Data Documentation

final String agents.executionmanagementagent.ExecutionManagementAgent.EXECUTION_MANAGEMENT_AGENT_NAME = "executionmanagementagent" [static]
 


The documentation for this interface was generated from the following file:
Generated on Fri Feb 17 09:37:53 2006 for MAG by  doxygen 1.4.4