public class EchoServer extends Object implements BenchmarkServer
| Constructor and Description |
|---|
EchoServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
start(BenchmarkConfiguration cfg)
All benchmark preparation and all resource initialization should be done here.
|
void |
stop()
All necessary resources should be released here.
|
String |
usage()
Gets benchmark usage.
|
public void start(BenchmarkConfiguration cfg) throws Exception
start in interface BenchmarkServercfg - Benchmark configuration.Exception - If failed.public void stop()
throws Exception
stop in interface BenchmarkServerException - If failed.public String usage()
usage in interface BenchmarkServerCopyright © 2014. All rights reserved.