com.sun.faban.harness.agent
Class Download

java.lang.Object
  extended by com.sun.faban.harness.agent.Download

public class Download
extends Object

The benchmark loader is called by the command agent to download benchmarks to the agent machine in order to drive the workload without manually having to cope with distributing benchmark code.

Author:
Akara Sucharitakul

Constructor Summary
Download()
           
 
Method Summary
 void loadBenchmark(String benchmarkName, String context)
          Downloads benchmark.
 void loadService(String serviceLocation, String context)
          Downloads service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Download

public Download()
Method Detail

loadBenchmark

public void loadBenchmark(String benchmarkName,
                          String context)
                   throws IOException
Downloads benchmark.

Parameters:
benchmarkName -
context -
Throws:
IOException

loadService

public void loadService(String serviceLocation,
                        String context)
                 throws IOException
Downloads service.

Parameters:
serviceLocation -
context -
Throws:
IOException