Inheritance diagram for agents.executionmanagementagent.ExecutionManagementAgentImpl:
Public Member Functions | |
ExecutionManagementAgentImpl () | |
synchronized void | registerAgent (ExecutionInfo execInfo) |
synchronized boolean | changeAgentHost (String appExecId, String newHost) |
ExecutionInfo[] | getAgentList (String host) |
void | recoverHost (String host) |
synchronized void | killApplication (String appExecId) |
boolean | appInitiatedNotification (String execId, Iterator inputFiles) |
boolean | appFinishedNotification (String appExecutionId, Iterator outputFiles) |
FileStruct | getInputFile (AsctRequestId id, String name) |
FileStruct | getOutputFile (AsctRequestId id, String name) |
void | acceptedExecutionRequestNotification (ApplicationData app, String userName) |
void | refusedExecutionRequestNotification (AsctRequestId id) |
boolean | migrateExecutionNotification (String appExecutionId, String newHost) |
boolean | removeExecResults (AsctRequestId id) |
boolean | updateAgent (ExecutionInfo einfo) |
ApplicationParam | getApplicationParam (AsctRequestId id) |
ApplicationStateInfo[] | getApplicationsStateInfo (String user) |
Protected Member Functions | |
void | setup () |
Private Member Functions | |
void | removeDirectory (File directory) |
void | saveToFile (File directory, String fileName, byte b[]) throws Exception |
Private Attributes | |
Codec | codec = new LEAPCodec() |
Ontology | ontology = MAGOntology.getInstance() |
DBManager | dbman |
|
|
|
This method store that the application's request was accepted.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method notify the ExecutionManagementAgent after, which the MagAgent will finished the applicaiton.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method notify the ExecutionManagementAgent before, which the MagAgent will running the applicaiton.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method changes the location (host) where the agent is running on.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method retrieves the list of agents that is running on specified host.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method return Application's Param.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method return the Application's State.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method return one InputFile.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method return one OutputFile.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method kill the application.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method store the info that the application, was migrated.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method recover all process that were running on specified host.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
This method store the info that the application, was refused.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
Method responsible for register an agent in the agent map.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
|
|
This method removes the pertaining results to the application
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
Saves a serialized bytecode on filesystem
|
|
|
|
This method update Agent's status and Application's info.
Implements agents.executionmanagementagent.ExecutionManagementAgent. |
|
|
|
|
|
|