Package org.openjdk.jmh.runner.link
Class BinaryLinkClient
- java.lang.Object
-
- org.openjdk.jmh.runner.link.BinaryLinkClient
-
public final class BinaryLinkClient extends Object
-
-
Constructor Summary
Constructors Constructor Description BinaryLinkClient(String hostName, int hostPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()PrintStreamgetErrStream()OutputFormatgetOutputFormat()PrintStreamgetOutStream()Optionshandshake()voidpushException(BenchmarkException error)voidpushResultMetadata(BenchmarkResultMetaData res)voidpushResults(IterationResult res)ActionPlanrequestPlan()
-
-
-
Constructor Detail
-
BinaryLinkClient
public BinaryLinkClient(String hostName, int hostPort) throws IOException
- Throws:
IOException
-
-
Method Detail
-
close
public void close() throws IOException- Throws:
IOException
-
handshake
public Options handshake() throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
requestPlan
public ActionPlan requestPlan() throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
pushResults
public void pushResults(IterationResult res) throws IOException
- Throws:
IOException
-
pushException
public void pushException(BenchmarkException error) throws IOException
- Throws:
IOException
-
pushResultMetadata
public void pushResultMetadata(BenchmarkResultMetaData res) throws IOException
- Throws:
IOException
-
getOutStream
public PrintStream getOutStream()
-
getErrStream
public PrintStream getErrStream()
-
getOutputFormat
public OutputFormat getOutputFormat()
-
-