|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ToolAgent
The methods in this interface are the public face of all ToolAgents configured on the various machines. The ToolService starts up all the ToolAgents and gets a handle to this interface. All Tool reequests from the benchmark should be routed through the ToolService.
ToolService| Method Summary | |
|---|---|
void |
configure(List<MasterToolContext> toollist,
Set<String> osToolSet,
String outDir)
This method configures the tools that must be run on this machine. |
void |
kill()
This method is responsible for killing all tools. |
void |
postprocess()
This method is responsible for post processing tools. |
boolean |
start(int delay)
This method is responsible for starting all tools. |
boolean |
start(int delay,
int duration)
This method is responsible for starting all tools. |
boolean |
start(int delay,
String[] tools)
Start only specified tools. |
boolean |
start(int delay,
String[] tools,
int duration)
Start only specified tools for specific duration. |
void |
stop()
This method is responsible for stopping the tools. |
void |
stop(String[] tools)
Stopping specific tools. |
void |
waitFor()
Waits for all tools to finish up. |
| Method Detail |
|---|
void configure(List<MasterToolContext> toollist,
Set<String> osToolSet,
String outDir)
throws RemoteException,
IOException
toollist - - each element in the array is the
name of a tool and optional arguments, e.g "sar -u -c"osToolSet - list of os toolsoutDir - output directory of the run
RemoteException, - IOException
RemoteException
IOException
void kill()
throws RemoteException
RemoteException
boolean start(int delay)
throws RemoteException
delay - - time to delay before starting
RemoteException
boolean start(int delay,
int duration)
throws RemoteException
delay - - time to delay before startingduration - after which tools must be stopped
RemoteException
boolean start(int delay,
String[] tools)
throws RemoteException
delay - - time to delay before startingtools - - specific list of tools to start
RemoteException - A communication error occurred
boolean start(int delay,
String[] tools,
int duration)
throws RemoteException
delay - - time to delay before startingtools - - specific list of tools to startduration - after which tools must be stopped
RemoteException - A communication error occurred
void stop()
throws RemoteException
RemoteException - A communication error occurred
void stop(String[] tools)
throws RemoteException
tools - The tools to stop.
RemoteException - A communication error occurred
void waitFor()
throws RemoteException
RemoteException - A communication error occurred
void postprocess()
throws RemoteException
RemoteException - A communication error occurred
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||